fix
This commit is contained in:
parent
f7b2830d7f
commit
e9d7e9d14c
2 changed files with 3 additions and 3 deletions
|
@ -57,7 +57,7 @@ main img {
|
|||
max-width: 100%;
|
||||
}
|
||||
|
||||
button.menu {
|
||||
button#menu {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
@ -74,7 +74,7 @@ input[type="text"] {
|
|||
margin-left: unset;
|
||||
}
|
||||
|
||||
button {
|
||||
button#menu {
|
||||
width: 100%;
|
||||
display: block;
|
||||
|
||||
|
|
|
@ -148,7 +148,7 @@ window.addEventListener("load", () => {
|
|||
|
||||
// Responsive menu
|
||||
let menuOpen = false;
|
||||
const button = document.getElementsByTagName("button.menu")[0];
|
||||
const button = document.getElementById("menu");
|
||||
const content = document.getElementsByTagName("main")[0];
|
||||
const initialButtonTextContent = button.textContent;
|
||||
const resetPage = () => {
|
||||
|
|
Loading…
Reference in a new issue