Merge remote-tracking branch 'origin/mobilesidebar'
This commit is contained in:
commit
75a1a114df
7 changed files with 122 additions and 25 deletions
|
@ -150,11 +150,22 @@ jQuery(function () {
|
|||
|
||||
};
|
||||
|
||||
/**
|
||||
* Open and close the sidebar in mobile view
|
||||
*/
|
||||
const initMobileToggling = function () {
|
||||
jQuery('.menu-togglelink').find('a').click(function (e) {
|
||||
e.preventDefault();
|
||||
jQuery('#dokuwiki__aside').toggleClass('show');
|
||||
});
|
||||
};
|
||||
|
||||
// main
|
||||
initContentNav();
|
||||
initSidebarToggling();
|
||||
initMenuHandling();
|
||||
initContentMinHeight();
|
||||
initSearchToggling();
|
||||
initMobileToggling();
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue