Render mathjax when loading more comments
This commit is contained in:
parent
66bf42cb61
commit
7d517e1a7d
3 changed files with 5 additions and 2 deletions
|
@ -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});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue