Skip to content

Commit 8494d4d

Browse files
light-and-rayruchej
authored andcommitted
Use original App Title in progress bar
1 parent cf36df9 commit 8494d4d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

javascript/progressbar.js

+8-1
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,15 @@ function formatTime(secs) {
4545
}
4646
}
4747

48+
49+
var originalAppTitle = undefined;
50+
51+
onUiLoaded(function() {
52+
originalAppTitle = document.title;
53+
});
54+
4855
function setTitle(progress) {
49-
var title = 'Stable Diffusion';
56+
var title = originalAppTitle;
5057

5158
if (opts.show_progress_in_title && progress) {
5259
title = '[' + progress.trim() + '] ' + title;

0 commit comments

Comments
 (0)