From 98bb9ad6d0b8dec3d340118dd434776e24681e30 Mon Sep 17 00:00:00 2001 From: piair Date: Wed, 27 Sep 2023 19:38:21 +0200 Subject: [PATCH] Pourquoi ca descend pas ? --- Flask/templates/dev.html | 5 ++++- version | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Flask/templates/dev.html b/Flask/templates/dev.html index 52f9558..62916f5 100644 --- a/Flask/templates/dev.html +++ b/Flask/templates/dev.html @@ -15,11 +15,14 @@ return new Promise(resolve => setTimeout(resolve, ms)); } var myIframe = document.getElementById('iframe'); + myIframe.addEventListener("load", async () => { let doc = myIframe.contentDocument; + console.log(1); doc.body.innerHTML = doc.body.innerHTML + ''; myIframe.contentWindow.scrollTo(0, myIframe.contentDocument.body.scrollHeight); - await delay(1000); + console.log(2); + await delay(2000); document.getElementById('iframe').contentWindow.location.reload(); }); diff --git a/version b/version index 6768497..6414ced 100644 --- a/version +++ b/version @@ -1 +1 @@ -v6.6.14 +v6.6.15