Merge pull request #8031 from DrakeRichards/notification-fix

Bug fix: Added results selector for notifications
This commit is contained in:
AUTOMATIC1111 2023-03-11 15:19:03 +03:00 committed by GitHub
commit 92bb54720f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ onUiUpdate(function(){
}
}
const galleryPreviews = gradioApp().querySelectorAll('div[id^="tab_"][style*="display: block"] img.h-full.w-full.overflow-hidden');
const galleryPreviews = gradioApp().querySelectorAll('div[id^="tab_"][style*="display: block"] div[id$="_results"] img.h-full.w-full.overflow-hidden');
if (galleryPreviews == null) return;