From 000db565a22138c4217610b0ff507b04be9a439e Mon Sep 17 00:00:00 2001 From: Clement LEBOEUF - Elwingh <clement.leboeuf@ensiie.fr> Date: Wed, 23 Oct 2024 03:42:52 +0200 Subject: [PATCH] =?UTF-8?q?Am=C3=A9liore=20l'extension?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/correct.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/correct.js b/js/correct.js index 5795e9b..ae77c23 100644 --- a/js/correct.js +++ b/js/correct.js @@ -5,10 +5,10 @@ const walk = document.createTreeWalker( null, false ); -const rExp = new RegExp("ENSIEE", "gi"); +const rExp = new RegExp("ENSIIE", "gi"); while ((textNode = walk.nextNode())) { - textNode.nodeValue = textNode.nodeValue.replace(rExp, "ENSIIE"); + textNode.nodeValue = textNode.nodeValue.replace(rExp, "ENSIEE"); } -document.title = document.title.replace(rExp, "ENSIIE"); +document.title = document.title.replace(rExp, "ENSIEE"); -- GitLab