Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
S
stable-diffusion-webui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
stable-diffusion-webui
Commits
9e8c4e2c
Unverified
Commit
9e8c4e2c
authored
Nov 27, 2022
by
AUTOMATIC1111
Committed by
GitHub
Nov 27, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4894 from morgil/progress-first-in-title
Move progress info to beginning of site title
parents
89d88047
47118974
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
progressbar.js
javascript/progressbar.js
+1
-1
No files found.
javascript/progressbar.js
View file @
9e8c4e2c
...
@@ -23,7 +23,7 @@ function check_progressbar(id_part, id_progressbar, id_progressbar_span, id_skip
...
@@ -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
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment