diff --git a/modules/ext.math.mathjax.enabler.js b/modules/ext.math.mathjax.enabler.js index fe6de6cea..3893a2d81 100644 --- a/modules/ext.math.mathjax.enabler.js +++ b/modules/ext.math.mathjax.enabler.js @@ -15,19 +15,14 @@ root: mw.config.get('wgExtensionAssetsPath') + '/Math/modules/MathJax', config: ['TeX-AMS-texvc_HTML.js'], 'v1.0-compatible': false, - styles: { - '.mtext': { - 'font-family': 'sans-serif ! important', - 'font-size': '80%' - } - }, displayAlign: 'left', menuSettings: { zoom: 'Click' }, 'HTML-CSS': { imageFont: null, - availableFonts: ['TeX'] + availableFonts: ['TeX'], + mtextFontInherit: true } }, mathJax.config );