mirror of
https://github.com/jfmcbrayer/brutaldon
synced 2025-01-10 22:14:12 +01:00
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
Block a user