User:Asmeurer/common.js

var mathTags = $('.mwe-math-mathml-a11y'); if (mathTags.length > 0){ window.MathJax = { AuthorInit: function { MathJax.Hub.Register.StartupHook("End",function {        MathJax.Hub.Queue( function{ mathTags.removeClass('mwe-math-mathml-a11y'); $('.mwe-math-fallback-image-inline').addClass('mwe-math-mathml-a11y'); }       );      });    }  };  mw.loader.load('https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'); }