mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-03-06 22:14:54 +08:00
Remove pad spaces from progress bar text
This commit is contained in:
parent
14c1c2b935
commit
4fbdbddc18
@ -10,7 +10,7 @@ function check_progressbar(id_part, id_progressbar, id_progressbar_span, id_skip
|
|||||||
|
|
||||||
if(opts.show_progress_in_title && progressbar && progressbar.offsetParent){
|
if(opts.show_progress_in_title && progressbar && progressbar.offsetParent){
|
||||||
if(progressbar.innerText){
|
if(progressbar.innerText){
|
||||||
let newtitle = 'Stable Diffusion - ' + progressbar.innerText
|
let newtitle = 'Stable Diffusion - ' + progressbar.innerText.slice(2)
|
||||||
if(document.title != newtitle){
|
if(document.title != newtitle){
|
||||||
document.title = newtitle;
|
document.title = newtitle;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user