diff --git a/templates/index.html b/templates/index.html
index 576e27d..f440ee0 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -248,8 +248,11 @@
gallery-dl
const box = document.getElementById("box");
const response = await fetch("gallery-dl/logs");
const logs = await response.text();
- box.textContent = logs;
- box.scrollTop = box.scrollHeight;
+
+ if (box.textContent != logs) {
+ box.textContent = logs;
+ box.scrollTop = box.scrollHeight;
+ }
}
fetchLogs();