From 8934568b84894a6099be986f4507c9ece6ed9a77 Mon Sep 17 00:00:00 2001 From: piair Date: Wed, 27 Sep 2023 12:02:19 +0200 Subject: [PATCH] hmmm --- Flask/static/js/main.js | 9 +++------ version | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/Flask/static/js/main.js b/Flask/static/js/main.js index 31a8f7c..1fda7e0 100644 --- a/Flask/static/js/main.js +++ b/Flask/static/js/main.js @@ -74,18 +74,15 @@ function change_logs(value) { doc.body.innerHTML = doc.body.innerHTML + ''; myIframe.contentWindow.scrollTo(0, myIframe.contentDocument.body.scrollHeight); - window.setInterval(function() { + myInterval = window.setInterval(function() { reloadIFrame() - }, 500); + }, 100); }); function reloadIFrame() { console.log('reloading..'); document.getElementById('iframe').contentWindow.location.reload(); - - window.setInterval(function() { - reloadIFrame() - }, 100000); + clearInterval(myInterval); } myIframe.src = "/static/logs/" + value + ".txt"; diff --git a/version b/version index 1893585..b3cf009 100644 --- a/version +++ b/version @@ -1 +1 @@ -v6.6.10 +v6.6.11