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/contextMenus.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/contextMenus.js')
-rw-r--r-- | javascript/contextMenus.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/javascript/contextMenus.js b/javascript/contextMenus.js index f14af1d4..d60a10c4 100644 --- a/javascript/contextMenus.js +++ b/javascript/contextMenus.js @@ -167,6 +167,4 @@ var addContextMenuEventListener = initResponse[2]; })(); //End example Context Menu Items -onUiUpdate(function() { - addContextMenuEventListener(); -}); +onAfterUiUpdate(addContextMenuEventListener); |