Update progressbar.js

This commit is contained in:
innovaciones 2022-09-20 13:16:43 -05:00 committed by AUTOMATIC1111
parent b9aed0c692
commit 057206cb73

View file

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