fixed shit

This commit is contained in:
hexahigh 2023-01-01 18:55:21 +01:00
parent 4c4c095800
commit 04b622fe03

View File

@ -11,10 +11,10 @@ const navMenuImg = document.querySelector('#nav-menu-img');
function navShow() {
if (navMobileContentClose.classList.contains('nav-mobile-content')) {
navMobileContentClose.classList.remove('nav-mobile-content');
navMenuImg.src = 'data/images/menu.svg';
navMenuImg.src = '/data/images/menu.svg';
} else {
navMobileContentClose.classList.toggle('nav-mobile-content');
navMenuImg.src = 'data/images/close.svg';
navMenuImg.src = '/data/images/close.svg';
}
}