Index: trunk/extensions/Math/modules/ext.math.mathjax.enabler.js |
— | — | @@ -22,6 +22,7 @@ |
23 | 23 | delete MathJax.Message.styles["#MathJax_Message"].left; |
24 | 24 | if ( typeof(mathJax.userConfig) !== "undefined" ) MathJax.Hub.Config( mathJax.userConfig ); |
25 | 25 | //if ( typeof(mathJax.fontDir) !== "undefined" ) MathJax.OutputJax.fontDir = mathJax.fontDir; else MathJax.Hub.Config({ NativeMML: {webFont: null} }); |
| 26 | + MathJax.OutputJax.fontDir = mathJax.fontDir = mediaWiki.config.get('wgExtensionAssetsPath') + '/Math/modules/MathJax/fonts'; |
26 | 27 | MathJax.Hub.Register.StartupHook("End Extensions", function() { |
27 | 28 | /* |
28 | 29 | // this section is newly commented out while updating to MJ 2.0 |