mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-12-22 17:15:07 +01:00
Fix js
This commit is contained in:
parent
a43a34fe01
commit
d49599a028
@ -16,6 +16,7 @@
|
||||
}
|
||||
function setMenuToggleListener() {
|
||||
const menuToggle = document.querySelector('.menu-toggle');
|
||||
if (!menuToggle) return;
|
||||
body = document.querySelector('body');
|
||||
menuToggle.addEventListener('click', menuToggleListener);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user