mirror of
https://gitlab.com/brutaldon/brutaldon
synced 2025-06-05 21:49:32 +02:00
Try harder to not leave the loading animation running
This commit is contained in:
@@ -15,6 +15,7 @@ function afterPage(user, page)
|
|||||||
menu.classList.remove('is-active');
|
menu.classList.remove('is-active');
|
||||||
var burger = document.querySelector('.navbar-burger');
|
var burger = document.querySelector('.navbar-burger');
|
||||||
burger.classList.remove('is-active');
|
burger.classList.remove('is-active');
|
||||||
|
$('#page-load-indicator').hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
function menuPrepare() {
|
function menuPrepare() {
|
||||||
@@ -166,6 +167,7 @@ function restorePlace(ev)
|
|||||||
{
|
{
|
||||||
window.scrollTo(0, lastScrollPos);
|
window.scrollTo(0, lastScrollPos);
|
||||||
}
|
}
|
||||||
|
$('#page-load-indicator').hide();
|
||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user