fix copy code button
This commit is contained in:
parent
59cd203ee2
commit
696d8e0f58
3 changed files with 3 additions and 3 deletions
|
@ -57,7 +57,7 @@ main img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button.menu {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -148,7 +148,7 @@ window.addEventListener("load", () => {
|
||||||
|
|
||||||
// Responsive menu
|
// Responsive menu
|
||||||
let menuOpen = false;
|
let menuOpen = false;
|
||||||
const button = document.getElementsByTagName("button")[0];
|
const button = document.getElementsByTagName("button.menu")[0];
|
||||||
const content = document.getElementsByTagName("main")[0];
|
const content = document.getElementsByTagName("main")[0];
|
||||||
const initialButtonTextContent = button.textContent;
|
const initialButtonTextContent = button.textContent;
|
||||||
const resetPage = () => {
|
const resetPage = () => {
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<body>
|
<body>
|
||||||
<header>{{>navbar.html}}</header>
|
<header>{{>navbar.html}}</header>
|
||||||
|
|
||||||
<button type="button">Ouvrir le menu</button>
|
<button type="button" id="menu">Ouvrir le menu</button>
|
||||||
<aside>
|
<aside>
|
||||||
<input type="text" id="searchBar" placeholder="Recherche..." autofocus />
|
<input type="text" id="searchBar" placeholder="Recherche..." autofocus />
|
||||||
<span data-json="{{filetree}} "></span>
|
<span data-json="{{filetree}} "></span>
|
||||||
|
|
Loading…
Reference in a new issue