aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-03-11 12:19:03 +0000
committerGitHub <noreply@github.com>2023-03-11 12:19:03 +0000
commit92bb54720fd16d92bb5e2e9bafc0d70bb0e954c1 (patch)
tree557bc5fa0ebfa36f0a693d74bb617b9edf135c6c
parente15c4f31e3ec0d2d979832dede0f9b34f4631c7a (diff)
parent6825de7bc811d777ff0d462e5668fa4fba73a889 (diff)
downloadstable-diffusion-webui-gfx803-92bb54720fd16d92bb5e2e9bafc0d70bb0e954c1.tar.gz
stable-diffusion-webui-gfx803-92bb54720fd16d92bb5e2e9bafc0d70bb0e954c1.tar.bz2
stable-diffusion-webui-gfx803-92bb54720fd16d92bb5e2e9bafc0d70bb0e954c1.zip
Merge pull request #8031 from DrakeRichards/notification-fix
Bug fix: Added results selector for notifications
-rw-r--r--javascript/notification.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript/notification.js b/javascript/notification.js
index 040a3afa..5ae6df24 100644
--- a/javascript/notification.js
+++ b/javascript/notification.js
@@ -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;