Render mathjax when loading more comments

This commit is contained in:
cuom1999 2023-09-26 01:11:39 -05:00
parent 66bf42cb61
commit 7d517e1a7d
3 changed files with 5 additions and 2 deletions

View file

@ -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});