From f4de37ee90b3b1d388f92dafbd5dbc9a345dc027 Mon Sep 17 00:00:00 2001 From: bluelovers Date: Fri, 7 Jun 2024 18:17:04 +0800 Subject: [PATCH] Update script.js --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.js b/script.js index f8fe8704d..a368fd5f6 100644 --- a/script.js +++ b/script.js @@ -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);