mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-24 07:34:22 +00:00
Fix for font path on MathJax 2.0
This commit is contained in:
parent
83a8af23f8
commit
f8ad1f3e86
Notes:
Brion Vibber
2012-03-01 02:00:16 +00:00
|
@ -22,6 +22,7 @@ mathJax.Config = function() {
|
|||
delete MathJax.Message.styles["#MathJax_Message"].left;
|
||||
if ( typeof(mathJax.userConfig) !== "undefined" ) MathJax.Hub.Config( mathJax.userConfig );
|
||||
//if ( typeof(mathJax.fontDir) !== "undefined" ) MathJax.OutputJax.fontDir = mathJax.fontDir; else MathJax.Hub.Config({ NativeMML: {webFont: null} });
|
||||
MathJax.OutputJax.fontDir = mathJax.fontDir = mediaWiki.config.get('wgExtensionAssetsPath') + '/Math/modules/MathJax/fonts';
|
||||
MathJax.Hub.Register.StartupHook("End Extensions", function() {
|
||||
/*
|
||||
// this section is newly commented out while updating to MJ 2.0
|
||||
|
|
Loading…
Reference in a new issue