mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-02-03 06:47:23 +00:00
Use onAfterUiUpdate where possible
This commit is contained in:
@@ -167,6 +167,4 @@ var addContextMenuEventListener = initResponse[2];
|
||||
})();
|
||||
//End example Context Menu Items
|
||||
|
||||
onUiUpdate(function() {
|
||||
addContextMenuEventListener();
|
||||
});
|
||||
onAfterUiUpdate(addContextMenuEventListener);
|
||||
|
||||
Reference in New Issue
Block a user