Fix notification not playing when built-in webui tab is inactive
This commit is contained in:
parent
d1c93c3822
commit
592b0dcfa7
|
@ -15,7 +15,7 @@ onAfterUiUpdate(function() {
|
|||
}
|
||||
}
|
||||
|
||||
const galleryPreviews = gradioApp().querySelectorAll('div[id^="tab_"][style*="display: block"] div[id$="_results"] .thumbnail-item > img');
|
||||
const galleryPreviews = gradioApp().querySelectorAll('div[id^="tab_"] div[id$="_results"] .thumbnail-item > img');
|
||||
|
||||
if (galleryPreviews == null) return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue