mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-25 12:01:37 +01:00
Update class
This commit is contained in:
parent
c29212ea9b
commit
e0be4092bd
@ -12,7 +12,7 @@
|
|||||||
<script data-no-instant>
|
<script data-no-instant>
|
||||||
let body;
|
let body;
|
||||||
function menuToggleListener() {
|
function menuToggleListener() {
|
||||||
body.classList.toggle('no-scroll');
|
body.classList.toggle('blur');
|
||||||
}
|
}
|
||||||
function setMenuToggleListener() {
|
function setMenuToggleListener() {
|
||||||
const menuToggle = document.querySelector('.menu-toggle');
|
const menuToggle = document.querySelector('.menu-toggle');
|
||||||
|
Loading…
Reference in New Issue
Block a user