mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 02:30:30 -08:00
Use onAfterUiUpdate where possible
This commit is contained in:
parent
bc53ecf298
commit
dc7a1bbb1c
7 changed files with 7 additions and 9 deletions
|
|
@ -249,7 +249,7 @@ function confirm_clear_prompt(prompt, negative_prompt) {
|
|||
|
||||
|
||||
var opts = {};
|
||||
onUiUpdate(function() {
|
||||
onAfterUiUpdate(function() {
|
||||
if (Object.keys(opts).length != 0) return;
|
||||
|
||||
var json_elem = gradioApp().getElementById('settings_json');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue