Mathjax init handling
This commit is contained in:
@@ -19,8 +19,14 @@ module.exports = (alerts) => {
|
||||
scale: 120,
|
||||
font: 'STIX-Web'
|
||||
},
|
||||
showMathMenu: false
|
||||
tex2jax: {
|
||||
preview: 'none'
|
||||
},
|
||||
showMathMenu: false,
|
||||
showProcessingMessages: false,
|
||||
messageStyle: 'none'
|
||||
})
|
||||
MathJax.Hub.Configured()
|
||||
|
||||
require('../modals/create.js')(currentBasePath)
|
||||
require('../modals/move.js')(currentBasePath, alerts)
|
||||
|
4
client/js/pre-init/mathjax.js
Normal file
4
client/js/pre-init/mathjax.js
Normal file
@@ -0,0 +1,4 @@
|
||||
window.MathJax = {
|
||||
root: '/js/mathjax',
|
||||
delayStartupUntil: 'configured'
|
||||
}
|
Reference in New Issue
Block a user