SummerCart64/web/script.js

12 lines
239 B
JavaScript
Raw Permalink Normal View History

2024-01-07 19:21:11 +01:00
const showMenu = (event) => {
event.currentTarget
.classList
.toggle('active');
event.currentTarget
.parentNode
.parentNode
.getElementsByTagName('menu')[0]
.classList
.toggle('mobile-hidden');
}