aboutsummaryrefslogtreecommitdiff
path: root/javascript/notification.js
diff options
context:
space:
mode:
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');