Try harder to not leave the loading animation running

This commit is contained in:
Jason McBrayer 2018-11-06 17:41:03 -05:00
parent 0232ec9fd3
commit a0a4dd2e56
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@ function afterPage(user, page)
menu.classList.remove('is-active');
var burger = document.querySelector('.navbar-burger');
burger.classList.remove('is-active');
$('#page-load-indicator').hide();
}
function menuPrepare() {
@ -166,6 +167,7 @@ function restorePlace(ev)
{
window.scrollTo(0, lastScrollPos);
}
$('#page-load-indicator').hide();
});
return false;
}