You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xshop/resources/views/segments/menu/RecetMenu/RecetMenu.js

7 lines
258 B
JavaScript

document.addEventListener('DOMContentLoaded',function () {
document.querySelector('#rect-toggle')?.addEventListener('click',function (e) {
e.preventDefault();
document.querySelector('#RecetMenu').classList.toggle('show-menu');
});
5 months ago
})