Skip to content

Commit

Permalink
Correction de bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Vital committed Oct 5, 2023
1 parent 90280bd commit ac79c74
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions My-Website.js
Original file line number Diff line number Diff line change
@@ -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------\\

Expand All @@ -27,7 +27,7 @@ const txtRecherche = document.querySelector('.txtRecherche');
//-----Afficher la section 1 par defaut----\\

window.addEventListener('load', function() {
showSection(section3);
showSection(section1);
});

//-----Changement de page-----\\
Expand Down

0 comments on commit ac79c74

Please sign in to comment.