mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-30 13:51:27 -08:00
Use onAfterUiUpdate where possible
This commit is contained in:
parent
bc53ecf298
commit
dc7a1bbb1c
7 changed files with 7 additions and 9 deletions
|
|
@ -4,7 +4,7 @@ let lastHeadImg = null;
|
|||
|
||||
let notificationButton = null;
|
||||
|
||||
onUiUpdate(function() {
|
||||
onAfterUiUpdate(function() {
|
||||
if (notificationButton == null) {
|
||||
notificationButton = gradioApp().getElementById('request_notifications');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue