MediaWiki:Common.js

From CUGC Wiki
Revision as of 15:53, 12 March 2019 by TW466 (talk | contribs) (Actually call callback to render MathJax.)
/* Any JavaScript here will be loaded for all users on every page load. */

// MathJax typesetting in edit previews
mw.hook('wikipage.content').add(function () {
  MathJax.Hub.Queue(["Typeset", MathJax.Hub, "wikiPreview"]).execute();
});