Unverified Commit 47118974 authored by Jonas Böer's avatar Jonas Böer Committed by GitHub
Browse files

Move progress info to beginning of title

because who has so few tabs open that they can see the end of a tab name?
parent 828438b4
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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(opts.show_progress_in_title && progressbar && progressbar.offsetParent){
        if(progressbar.innerText){
        if(progressbar.innerText){
            let newtitle = 'Stable Diffusion - ' + progressbar.innerText
            let newtitle = '[' + progressbar.innerText.trim() + '] Stable Diffusion';
            if(document.title != newtitle){
            if(document.title != newtitle){
                document.title =  newtitle;          
                document.title =  newtitle;          
            }
            }