Skip to content

Commit

Permalink
Ifx JS error (closes #416)
Browse files Browse the repository at this point in the history
  • Loading branch information
shalvah committed Jan 26, 2022
1 parent 60e421c commit ce94c03
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions resources/js/theme-default.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit ce94c03

Please sign in to comment.