mirror of https://gitlab.com/brutaldon/brutaldon
Close the menu after pjax loading a page
This commit is contained in:
parent
c038253ef7
commit
60c6adfbb2
|
@ -13,6 +13,8 @@ function afterPage(user, page)
|
|||
{
|
||||
scrollTop();
|
||||
setTitle(user,page);
|
||||
var menu = document.querySelector('#navMenu');
|
||||
menu.classList.remove('is-active');
|
||||
}
|
||||
|
||||
function menuPrepare() {
|
||||
|
|
Loading…
Reference in New Issue