Mathjax init handling

This commit is contained in:
NGPixel
2017-04-15 13:15:23 -04:00
parent fe313baf67
commit b004362aba
6 changed files with 51 additions and 20 deletions

View File

@@ -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)

View File

@@ -0,0 +1,4 @@
window.MathJax = {
root: '/js/mathjax',
delayStartupUntil: 'configured'
}