Merge pull request #12834 from catboxanon/fix/notification-tab-switch

Fix notification not playing when built-in webui tab is inactive
This commit is contained in:
AUTOMATIC1111 2023-08-29 08:55:45 +03:00
parent 738e133b24
commit 444f102964
1 changed files with 1 additions and 1 deletions

View File

@ -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;