aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDepFA <35278260+dfaker@users.noreply.github.com>2022-10-06 00:10:38 +0000
committerAUTOMATIC1111 <16777216c@gmail.com>2022-10-06 14:58:52 +0000
commitc06298d1d003aa034007978ee7508af636c18124 (patch)
treeb60151bcb120d7fe22d539a4dd275f9ee57940e4
parentbe71115b1a1201d04f0e2a11e718fb31cbd26474 (diff)
downloadstable-diffusion-webui-gfx803-c06298d1d003aa034007978ee7508af636c18124.tar.gz
stable-diffusion-webui-gfx803-c06298d1d003aa034007978ee7508af636c18124.tar.bz2
stable-diffusion-webui-gfx803-c06298d1d003aa034007978ee7508af636c18124.zip
add check for progress in title setting
-rw-r--r--javascript/progressbar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript/progressbar.js b/javascript/progressbar.js
index 3e3220c3..f9e9290e 100644
--- a/javascript/progressbar.js
+++ b/javascript/progressbar.js
@@ -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){