Use onAfterUiUpdate where possible

This commit is contained in:
Aarni Koskela
2023-05-25 09:09:13 +03:00
parent bc53ecf298
commit dc7a1bbb1c
7 changed files with 7 additions and 9 deletions

View File

@@ -4,7 +4,7 @@ let lastHeadImg = null;
let notificationButton = null;
onUiUpdate(function() {
onAfterUiUpdate(function() {
if (notificationButton == null) {
notificationButton = gradioApp().getElementById('request_notifications');