client: fix js error

This commit is contained in:
fantasticit 2022-05-18 16:39:20 +08:00
parent df7757a0b7
commit e8bdb8fb7c
1 changed files with 1 additions and 1 deletions

View File

@ -54836,7 +54836,7 @@ LocalFile.prototype.open = function () {
AuthorInit: function () {
MathJax.Hub.Config(d);
MathJax.Hub.Register.StartupHook('Begin', function () {
for (var b = 0; b < Editor.mathJaxQueue.length; b++) Editor.doMathJaxRender(Editor.mathJaxQueue[b]);
for (var b = 0; b < (Editor.mathJaxQueue || []).length; b++) Editor.doMathJaxRender(Editor.mathJaxQueue[b]);
});
},
};