Skip to content

Commit

Permalink
Merge pull request AUTOMATIC1111#4894 from morgil/progress-first-in-t…
Browse files Browse the repository at this point in the history
…itle

Move progress info to beginning of site title
  • Loading branch information
AUTOMATIC1111 authored Nov 27, 2022
2 parents 89d8804 + 4711897 commit 9e8c4e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/progressbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 9e8c4e2

Please sign in to comment.