wait for displaying contents

like webUI's javascript/ui.js
pull/59/head
toshiaki1729 2023-03-10 10:20:47 +09:00
parent dfe589a71c
commit a6cabece3c
1 changed files with 2 additions and 1 deletions

View File

@ -137,7 +137,8 @@ document.addEventListener("DOMContentLoaded", function () {
dteModifiedGallery_filter.addClickNextHandler(dataset_tag_editor_gl_filter_images_next_clicked)
dteModifiedGallery_filter.addClickCloseHandler(dataset_tag_editor_gl_filter_images_close_clicked)
}
if(gradioApp().getElementById('settings_json') == null) return
function changeTokenCounterPos(id, id_counter){
var prompt = gradioApp().getElementById(id)
var counter = gradioApp().getElementById(id_counter)