Skip to content

Commit

Permalink
Merge pull request #12834 from catboxanon/fix/notification-tab-switch
Browse files Browse the repository at this point in the history
Fix notification not playing when built-in webui tab is inactive
  • Loading branch information
AUTOMATIC1111 committed Aug 29, 2023
1 parent 738e133 commit 444f102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/notification.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 444f102

Please sign in to comment.