diff --git a/resources/js/theme-default.js b/resources/js/theme-default.js index b333f646..815d63f2 100644 --- a/resources/js/theme-default.js +++ b/resources/js/theme-default.js @@ -12,8 +12,7 @@ document.addEventListener('DOMContentLoaded', function() { navButton.classList.toggle('open'); } } - function closeSidebar(event) { - event.preventDefault(); + function closeSidebar() { if (menuWrapper) { menuWrapper.classList.remove('open'); navButton.classList.remove('open');