aboutsummaryrefslogtreecommitdiff
path: root/javascript/progressbar.js
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-05-18 09:59:10 +0300
committerAUTOMATIC <16777216c@gmail.com>2023-05-18 09:59:10 +0300
commit57b75f4a037658c1122aa092d1775ac52036b2cf (patch)
tree078c8fdc85a6754d3799e62ab6a2ed77614b67f3 /javascript/progressbar.js
parentf88169a9e74066892221b6c8c74c85afb7c1fe57 (diff)
eslint related file edits
Diffstat (limited to 'javascript/progressbar.js')
-rw-r--r--javascript/progressbar.js4
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";