Handle special case for loading bar

This commit is contained in:
cuom1999 2023-09-25 02:16:51 -05:00
parent 1cbac6fb1c
commit 555191009c

View file

@ -386,6 +386,9 @@ function onWindowReady() {
}); });
}); });
$('a').click(function() { $('a').click(function() {
if ($(this).attr('href') === '#') {
return;
}
$("#loading-bar").show(); $("#loading-bar").show();
$("#loading-bar").animate({ width: "100%" }, 2000, function() { $("#loading-bar").animate({ width: "100%" }, 2000, function() {
$(this).hide().css({ width: 0}); $(this).hide().css({ width: 0});