aboutsummaryrefslogtreecommitdiffstats
path: root/javascript/notification.js
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-05-27 17:09:15 +0000
committerGitHub <noreply@github.com>2023-05-27 17:09:15 +0000
commit2fc2fbb4ea34899220b141eb67b9515b433feb71 (patch)
tree448e5645d8db694f4677f9e3af3c15e7d9186845 /javascript/notification.js
parent5d29672b324c7afd85455a2681de849e3493e29a (diff)
parentdc7a1bbb1c70ba7585ca64c0a96e1bcba4d2302f (diff)
downloadstable-diffusion-webui-gfx803-2fc2fbb4ea34899220b141eb67b9515b433feb71.tar.gz
stable-diffusion-webui-gfx803-2fc2fbb4ea34899220b141eb67b9515b433feb71.tar.bz2
stable-diffusion-webui-gfx803-2fc2fbb4ea34899220b141eb67b9515b433feb71.zip
Merge pull request #10708 from akx/on-ui-update-throttled
Add onAfterUiUpdate callback
Diffstat (limited to 'javascript/notification.js')
-rw-r--r--javascript/notification.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript/notification.js b/javascript/notification.js
index a68a76f2..76c5715d 100644
--- a/javascript/notification.js
+++ b/javascript/notification.js
@@ -4,7 +4,7 @@ let lastHeadImg = null;
let notificationButton = null;
-onUiUpdate(function() {
+onAfterUiUpdate(function() {
if (notificationButton == null) {
notificationButton = gradioApp().getElementById('request_notifications');