Fix some js
This commit is contained in:
parent
6d763f2db5
commit
c2f6dba462
3 changed files with 18 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue