From b7c5b0d89cd175730fbd07750a75fae44fc18309 Mon Sep 17 00:00:00 2001 From: Vital Vuillaume Date: Thu, 21 Mar 2024 07:52:31 +0100 Subject: [PATCH] Update My-Website.js --- Site/Js/My-Website.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Site/Js/My-Website.js b/Site/Js/My-Website.js index 2e2d46e..ec5320b 100644 --- a/Site/Js/My-Website.js +++ b/Site/Js/My-Website.js @@ -1,8 +1,8 @@ //------Pour que le site soit securise------\\ -/*if (window.location.protocol != "https:") { +if (window.location.protocol != "https:") { window.location.protocol="https:"; -}*/ +} //------Element html------\\ @@ -42,7 +42,7 @@ const annuler = document.querySelector('.annuler'); //-----Afficher la section 1 par defaut----\\ window.addEventListener('load', function() { - showSection(section2); + showSection(section1); }); //------Sauvgarde du Menu contextuel------\\