add check for progress in title setting
This commit is contained in:
parent
be71115b1a
commit
c06298d1d0
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ function check_progressbar(id_part, id_progressbar, id_progressbar_span, id_inte
|
|||
var progressbar = gradioApp().getElementById(id_progressbar)
|
||||
var interrupt = gradioApp().getElementById(id_interrupt)
|
||||
|
||||
if(progressbar && progressbar.offsetParent){
|
||||
if(opts.show_progress_in_title && progressbar && progressbar.offsetParent){
|
||||
if(progressbar.innerText){
|
||||
let newtitle = 'Stable Diffusion - ' + progressbar.innerText
|
||||
if(document.title != newtitle){
|
||||
|
|
Loading…
Reference in a new issue