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();
|
scrollTop();
|
||||||
setTitle(user,page);
|
setTitle(user,page);
|
||||||
|
var menu = document.querySelector('#navMenu');
|
||||||
|
menu.classList.remove('is-active');
|
||||||
}
|
}
|
||||||
|
|
||||||
function menuPrepare() {
|
function menuPrepare() {
|
||||||
|
|
Loading…
Reference in New Issue