mirror of
https://github.com/vladmandic/automatic
synced 2026-08-30 00:50:59 +02:00
@@ -396,6 +396,7 @@ async function initGallery() { // triggered on gradio change to monitor when ui
|
||||
el.search = gradioApp().querySelector('#tab-gallery-search textarea');
|
||||
el.search.addEventListener('input', gallerySearch);
|
||||
el.btnSend = gradioApp().getElementById('tab-gallery-send-image');
|
||||
document.getElementById('tab-gallery-files').style.height = opts.logmonitor_show ? '75vh' : '85vh';
|
||||
|
||||
const intersectionObserver = new IntersectionObserver((entries) => {
|
||||
if (entries[0].intersectionRatio <= 0) galleryHidden();
|
||||
|
||||
Reference in New Issue
Block a user