diff options
Diffstat (limited to 'javascript/progressbar.js')
-rw-r--r-- | javascript/progressbar.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/javascript/progressbar.js b/javascript/progressbar.js index cd273e48..29299787 100644 --- a/javascript/progressbar.js +++ b/javascript/progressbar.js @@ -53,7 +53,7 @@ function setTitle(progress) { } if (document.title != title) { - document.title = title; + document.title = title; } } @@ -144,7 +144,7 @@ function requestProgress(id_task, progressbarContainer, gallery, atEnd, onProgre if (res.live_preview && gallery) { - var rect = gallery.getBoundingClientRect(); + rect = gallery.getBoundingClientRect(); if (rect.width) { livePreview.style.width = rect.width + "px"; livePreview.style.height = rect.height + "px"; |