Merge pull request #8112 from vladmandic/progressbar

fix progressbar
This commit is contained in:
AUTOMATIC1111 2023-03-11 14:36:23 +03:00 committed by GitHub
commit 2b0ef2c4e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -139,7 +139,7 @@ function requestProgress(id_task, progressbarContainer, gallery, atEnd, onProgre
var divProgress = document.createElement('div')
divProgress.className='progressDiv'
divProgress.style.display = opts.show_progressbar ? "" : "none"
divProgress.style.display = opts.show_progressbar ? "block" : "none"
var divInner = document.createElement('div')
divInner.className='progress'