mirror of
https://github.com/hexahigh/portfolio.git
synced 2025-12-12 03:25:06 +01:00
fixed shit
This commit is contained in:
parent
4c4c095800
commit
04b622fe03
4
index.js
4
index.js
@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user