Anonymous

Changes

From CUGC Wiki

MediaWiki:Common.js

57 bytes added, 16:53, 12 March 2019
Fix mistakes.
/* Any JavaScript here will be loaded for all users on every page load. */
mw.hook('wikipage.content').add(function waitForMathJax($content) {
if (typeof MathJax === 'undefined') {
setTimeout(function () { waitForMathJax($content); }, 1000);
console.log('Waiting for MathJax.');
} else {
console.log('Found MathJax; typeset done.');
}
mw.hook('wikipage.content').add(waitForMathJax);