diff --git a/resources/common.js b/resources/common.js index d9c7d1e..d34e259 100644 --- a/resources/common.js +++ b/resources/common.js @@ -386,9 +386,11 @@ function onWindowReady() { }); }); $('a').click(function() { - if ($(this).attr('href') === '#') { + var href = $(this).attr('href'); + if (href === '#' || href.startsWith("javascript")) { return; } + $("#loading-bar").show(); $("#loading-bar").animate({ width: "100%" }, 2000, function() { $(this).hide().css({ width: 0}); diff --git a/templates/comments/list.html b/templates/comments/list.html index d561210..fc0df78 100644 --- a/templates/comments/list.html +++ b/templates/comments/list.html @@ -3,7 +3,7 @@