Add NoMathPlayer parameter to prevent the MathPlayer setup when the page is loaded (users can still switch to NativeMML and the setup will be done at that point).
This commit is contained in:
parent
30db94c01e
commit
5cafb84908
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -2382,7 +2382,7 @@ MathJax.Hub.Startup = {
|
|||
MathJax.HTML.setScriptBug = !browser.isIE9 || document.documentMode < 9;
|
||||
var MathPlayer = false;
|
||||
try {new ActiveXObject("MathPlayer.Factory.1"); MathPlayer = true} catch(err) {}
|
||||
if (MathPlayer) {
|
||||
if (MathPlayer && !STARTUP.params.NoMathPlayer) {
|
||||
var mathplayer = document.createElement("object");
|
||||
mathplayer.id = "mathplayer"; mathplayer.classid = "clsid:32F66A20-7614-11D4-BD11-00104BD3F987";
|
||||
document.getElementsByTagName("head")[0].appendChild(mathplayer);
|
||||
|
|
Loading…
Reference in New Issue
Block a user