Fix some js

This commit is contained in:
cuom1999 2024-02-19 18:30:39 -06:00
parent 6d763f2db5
commit c2f6dba462
3 changed files with 18 additions and 1 deletions

View file

@ -1,6 +1,5 @@
function mathjax_pagedown($) {
$.each(window.editors, function (id, editor) {
console.log(id);
var preview = $('div.wmd-preview#' + id + '_wmd_preview')[0];
editor.hooks.chain('onPreviewRefresh', function () {
renderKatex(preview);