mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-03 10:50:23 +00:00
Use onAfterUiUpdate where possible
This commit is contained in:
@@ -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');
|
||||
|
Reference in New Issue
Block a user