mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-11-24 22:56:52 +01:00
12 lines
239 B
JavaScript
12 lines
239 B
JavaScript
|
const showMenu = (event) => {
|
||
|
event.currentTarget
|
||
|
.classList
|
||
|
.toggle('active');
|
||
|
event.currentTarget
|
||
|
.parentNode
|
||
|
.parentNode
|
||
|
.getElementsByTagName('menu')[0]
|
||
|
.classList
|
||
|
.toggle('mobile-hidden');
|
||
|
}
|