images history improvement

This commit is contained in:
yfszzx 2022-10-13 00:27:45 +08:00
parent a2aa2a68bc
commit 717ba4c71c
2 changed files with 3 additions and 3 deletions

View File

@ -172,7 +172,7 @@ function images_history_init(){
} }
var images_history_tab_list = ["txt2img", "img2img", "extras"]; var images_history_tab_list = ["txt2img", "img2img", "extras"];
setTimeout(images_history_init, 500) setTimeout(images_history_init, 500);
document.addEventListener("DOMContentLoaded", function() { document.addEventListener("DOMContentLoaded", function() {
var mutationObserver = new MutationObserver(function(m){ var mutationObserver = new MutationObserver(function(m){
for (var i in images_history_tab_list ){ for (var i in images_history_tab_list ){