Handle special case for loading bar
This commit is contained in:
parent
1cbac6fb1c
commit
555191009c
1 changed files with 3 additions and 0 deletions
|
@ -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});
|
||||||
|
|
Loading…
Reference in a new issue