mirror of
https://github.com/vladmandic/automatic
synced 2026-08-27 23:51:00 +02:00
cleanup settings
This commit is contained in:
@@ -75,7 +75,7 @@ let executedOnLoaded = false;
|
||||
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
const mutationObserver = new MutationObserver((m) => {
|
||||
if (!executedOnLoaded && gradioApp().querySelector('#txt2img_prompt')) {
|
||||
if (!executedOnLoaded && gradioApp().getElementById('txt2img_prompt')) {
|
||||
executedOnLoaded = true;
|
||||
executeCallbacks(uiLoadedCallbacks);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user