Commit 9e8464db authored by AUTOMATIC1111's avatar AUTOMATIC1111 Committed by GitHub

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

Fix notification not playing when built-in webui tab is inactive
parents 01a257eb 592b0dcf
...@@ -15,7 +15,7 @@ onAfterUiUpdate(function() { ...@@ -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; if (galleryPreviews == null) return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment