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