From 8813542cfc398d22c6e7b15cfda9a3933cc42cce Mon Sep 17 00:00:00 2001 From: piair Date: Wed, 27 Sep 2023 12:15:08 +0200 Subject: [PATCH] PTDR je modifie le mauvais fichier depuis tout a l'heure --- Flask/static/js/main.js | 5 +---- Flask/templates/dev.html | 12 +++++------- version | 2 +- 3 files changed, 7 insertions(+), 12 deletions(-) diff --git a/Flask/static/js/main.js b/Flask/static/js/main.js index 4eec21b..70581ea 100644 --- a/Flask/static/js/main.js +++ b/Flask/static/js/main.js @@ -69,14 +69,11 @@ function change_proxy(value, data, len) { function change_logs(value) { var myIframe = document.getElementById('embed'); - myIframe.addEventListener("load", async () => { + myIframe.addEventListener("load", function() { let doc = myIframe.contentDocument; doc.body.innerHTML = doc.body.innerHTML + ''; myIframe.contentWindow.scrollTo(0, myIframe.contentDocument.body.scrollHeight); - await delay(1000); - document.getElementById('iframe').contentWindow.location.reload(); }); - myIframe.src = "/static/logs/" + value + ".txt"; diff --git a/Flask/templates/dev.html b/Flask/templates/dev.html index f322271..612a32b 100644 --- a/Flask/templates/dev.html +++ b/Flask/templates/dev.html @@ -12,15 +12,13 @@ {% endif %} {% endblock %} \ No newline at end of file diff --git a/version b/version index a6f0d5f..4d34d9e 100644 --- a/version +++ b/version @@ -1 +1 @@ -v6.6.12 +v6.6.13