From e7d8e8afa49d00484e46d5f35710e1b38fe91958 Mon Sep 17 00:00:00 2001 From: piair Date: Wed, 27 Sep 2023 19:55:43 +0200 Subject: [PATCH] en vrai il y a eu d'autres tests --- Flask/templates/dev.html | 15 +++++++-------- version | 2 +- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/Flask/templates/dev.html b/Flask/templates/dev.html index 366e20d..d4e4442 100644 --- a/Flask/templates/dev.html +++ b/Flask/templates/dev.html @@ -1,7 +1,6 @@ {% extends "base.html" %} -{% block left_pannel %} -{% endblock %} +{% block left_pannel %}{% endblock %} {% block content %} @@ -17,15 +16,15 @@ var myIframe = document.getElementById('iframe'); myIframe.addEventListener("load", async () => { - var myIframe = document.getElementById('iframe'); - let doc = myIframe.contentDocument; - console.log(1); - doc.body.innerHTML = doc.body.innerHTML + ''; - myIframe.contentWindow.scrollTo(0, myIframe.contentDocument.body.scrollHeight); - console.log(2); + myIframe.contentDocument.body.innerHTML = myIframe.contentDocument.body.innerHTML + ''; await delay(2000); document.getElementById('iframe').contentWindow.location.reload(); }); + window.setInterval(function() { + var myIframe = document.getElementById('iframe'); + myIframe.contentWindow.scrollTo(0, myIframe.contentDocument.body.scrollHeight); + }, 500); + {% endif %} {% endblock %} \ No newline at end of file diff --git a/version b/version index 2dadf7e..c8f11e6 100644 --- a/version +++ b/version @@ -1 +1 @@ -v6.6.16 +v6.6.17