Update progressbar.js

This commit is contained in:
innovaciones 2022-09-20 13:16:43 -05:00 committed by AUTOMATIC1111
parent b9aed0c692
commit 057206cb73
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ global_progressbar = null
onUiUpdate(function(){ onUiUpdate(function(){
progressbar = gradioApp().getElementById('progressbar') progressbar = gradioApp().getElementById('progressbar')
progressDiv = gradioApp().querySelectorAll('.progressDiv').length > 0; progressDiv = gradioApp().querySelectorAll('.progressDiv').length > 0;
if(progressbar!= null && progressbar != global_progressbar){ if(progressbar!= null && progressbar != global_progressbar){
global_progressbar = progressbar global_progressbar = progressbar