diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-05-27 17:09:15 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-27 17:09:15 +0000 |
commit | 2fc2fbb4ea34899220b141eb67b9515b433feb71 (patch) | |
tree | 448e5645d8db694f4677f9e3af3c15e7d9186845 /javascript/notification.js | |
parent | 5d29672b324c7afd85455a2681de849e3493e29a (diff) | |
parent | dc7a1bbb1c70ba7585ca64c0a96e1bcba4d2302f (diff) | |
download | stable-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.js | 2 |
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'); |