Upgrade to MathJax 3

This commit is contained in:
cuom1999 2022-11-13 21:42:27 -06:00
parent 6bd15ded9c
commit 710fae5fe3
6 changed files with 31 additions and 37 deletions

View file

@ -156,7 +156,7 @@ let META_HEADER = [
$('#chat-log').append($data);
$('#chat-box').scrollTop($('#chat-box')[0].scrollHeight);
register_time($('.time-with-rel'));
MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
MathJax.typeset();
merge_authors();
}
@ -210,7 +210,7 @@ let META_HEADER = [
else {
add_new_message(message, room, true);
}
MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
MathJax.typeset();
register_time($('.time-with-rel'));
remove_unread_current_user();
merge_authors();