diff --git a/static/css/cours.css b/static/css/cours.css index c629785..20ca6d1 100644 --- a/static/css/cours.css +++ b/static/css/cours.css @@ -57,7 +57,7 @@ main img { max-width: 100%; } -button { +button.menu { display: none; } diff --git a/static/js/cours.js b/static/js/cours.js index aa50662..5b6f539 100644 --- a/static/js/cours.js +++ b/static/js/cours.js @@ -148,7 +148,7 @@ window.addEventListener("load", () => { // Responsive menu let menuOpen = false; - const button = document.getElementsByTagName("button")[0]; + const button = document.getElementsByTagName("button.menu")[0]; const content = document.getElementsByTagName("main")[0]; const initialButtonTextContent = button.textContent; const resetPage = () => { diff --git a/templates/cours.html b/templates/cours.html index 83eabd3..3b128c5 100644 --- a/templates/cours.html +++ b/templates/cours.html @@ -11,7 +11,7 @@
{{>navbar.html}}
- +