mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-06-07 21:20:49 +00:00
Update script.js
This commit is contained in:
parent
b8923bb65d
commit
f4de37ee90
@ -113,7 +113,7 @@ var executedOnLoaded = false;
|
||||
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
var mutationObserver = new MutationObserver(function(m) {
|
||||
const firstOnLoaded = !executedOnLoaded && gradioApp().querySelector('#txt2img_prompt')
|
||||
const firstOnLoaded = !executedOnLoaded && gradioApp().querySelector('#txt2img_prompt');
|
||||
if (firstOnLoaded) {
|
||||
executedOnLoaded = true;
|
||||
executeCallbacks(uiLoadedCallbacks);
|
||||
|
Loading…
Reference in New Issue
Block a user