Skip to content

Commit 97d035c

Browse files
committed
Leave the navigation closed by default on mobile
1 parent f7f8be0 commit 97d035c

File tree

1 file changed

+1
-1
lines changed
  • site/themes/arangodb-docs-theme/static/js

1 file changed

+1
-1
lines changed

site/themes/arangodb-docs-theme/static/js/theme.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ window.onload = () => {
689689

690690
var isMobile = window.innerWidth <= 768;
691691
if (isMobile) {
692-
document.querySelectorAll('.main-nav').forEach(el => el.classList.add("mobile", "active"));
692+
document.querySelectorAll('.main-nav').forEach(el => el.classList.add("mobile"));
693693
}
694694

695695
//const pageWrapper = document.querySelector('.page-wrapper');

0 commit comments

Comments
 (0)