2
0
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:
Jason McBrayer 2018-09-03 19:47:06 -04:00
parent c038253ef7
commit 60c6adfbb2

View File

@ -13,6 +13,8 @@ function afterPage(user, page)
{
scrollTop();
setTitle(user,page);
var menu = document.querySelector('#navMenu');
menu.classList.remove('is-active');
}
function menuPrepare() {