mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-05 15:32:55 +02:00
Fixed error in mathjax hook
This commit is contained in:
parent
dbb07acd06
commit
bf9b4ff727
5 changed files with 36 additions and 106 deletions
|
@ -170,8 +170,7 @@ EPUBJS.Hooks.register("beforeChapterDisplay").mathml = function(callback, render
|
|||
s.type = 'text/x-mathjax-config';
|
||||
s.innerHTML = '\
|
||||
MathJax.Hub.Register.StartupHook("End",function () { \
|
||||
console.log("The TeX input jax is loaded and ready!"); \
|
||||
// window.mathmlCallback() \
|
||||
window.mathmlCallback(); \
|
||||
});\
|
||||
MathJax.Hub.Config({jax: ["input/TeX","input/MathML","output/SVG"],extensions: ["tex2jax.js","mml2jax.js","MathEvents.js"],TeX: {extensions: ["noErrors.js","noUndefined.js","autoload-all.js"]},MathMenu: {showRenderer: false},menuSettings: {zoom: "Click"},messageStyle: "none"}); \
|
||||
';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue