From 6bc44516844d32141fff54f6fe04600685f42080 Mon Sep 17 00:00:00 2001 From: piair Date: Wed, 27 Sep 2023 11:27:58 +0200 Subject: [PATCH] je sais toujours pas comment marche le js mais bon --- Flask/static/js/main.js | 6 +++++- version | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Flask/static/js/main.js b/Flask/static/js/main.js index 276ce0e..93f684d 100644 --- a/Flask/static/js/main.js +++ b/Flask/static/js/main.js @@ -70,5 +70,9 @@ function change_proxy(value, data, len) { function change_logs(value) { console.log("new value : " + value); document.getElementById("embed").src = "/static/logs/" + value + ".txt"; - //document.getElementById("embed").contentDocument.location.reload(true); + window.onload = function() { + let myiFrame = document.getElementById("embed"); + let doc = myiFrame.contentDocument; + doc.body.innerHTML = doc.body.innerHTML + ''; + } } diff --git a/version b/version index 55faaba..2a9dcd7 100644 --- a/version +++ b/version @@ -1 +1 @@ -v6.6.4 +v6.6.5