|
@@ -45,8 +45,15 @@ function formatTime(secs) {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+
|
|
|
|
+var originalAppTitle = undefined;
|
|
|
|
+
|
|
|
|
+onUiLoaded(function() {
|
|
|
|
+ originalAppTitle = document.title;
|
|
|
|
+});
|
|
|
|
+
|
|
function setTitle(progress) {
|
|
function setTitle(progress) {
|
|
- var title = 'Stable Diffusion';
|
|
|
|
|
|
+ var title = originalAppTitle;
|
|
|
|
|
|
if (opts.show_progress_in_title && progress) {
|
|
if (opts.show_progress_in_title && progress) {
|
|
title = '[' + progress.trim() + '] ' + title;
|
|
title = '[' + progress.trim() + '] ' + title;
|