Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
bluelovers authored Jun 7, 2024
1 parent b8923bb commit f4de37e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f4de37e

Please sign in to comment.