m |
m |
||
Line 180: | Line 180: | ||
function mobileNav() { | function mobileNav() { | ||
if(window.innerWidth <= 1024) { | if(window.innerWidth <= 1024) { | ||
− | |||
var navBtn = document.getElementById("nav-icon"); | var navBtn = document.getElementById("nav-icon"); | ||
if(navBtn.classList.contains("toggle-nav")) { | if(navBtn.classList.contains("toggle-nav")) { |
Revision as of 17:51, 6 September 2020