mirror of
https://github.com/jfmcbrayer/brutaldon
synced 2024-12-23 05:43:41 +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();
|
||||
setTitle(user,page);
|
||||
var menu = document.querySelector('#navMenu');
|
||||
menu.classList.remove('is-active');
|
||||
}
|
||||
|
||||
function menuPrepare() {
|
||||
|
Loading…
Reference in New Issue
Block a user