Merge pull request #4894 from morgil/progress-first-in-title

Move progress info to beginning of site title
This commit is contained in:
AUTOMATIC1111 2022-11-27 18:48:29 +03:00 committed by GitHub
commit 9e8c4e2c7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ function check_progressbar(id_part, id_progressbar, id_progressbar_span, id_skip
if(opts.show_progress_in_title && progressbar && progressbar.offsetParent){
if(progressbar.innerText){
let newtitle = 'Stable Diffusion - ' + progressbar.innerText
let newtitle = '[' + progressbar.innerText.trim() + '] Stable Diffusion';
if(document.title != newtitle){
document.title = newtitle;
}