From db87f413bb221317bde78ee1e4853b780556aa73 Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Sun, 4 May 2014 15:52:53 -0400 Subject: [PATCH] Avoid IE10 compatibility mode (which says v7.0) but documentMode = 9 problem with transformNode() call. --- unpacked/extensions/MathML/content-mathml.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unpacked/extensions/MathML/content-mathml.js b/unpacked/extensions/MathML/content-mathml.js index d06f61eb7..1a77d1196 100644 --- a/unpacked/extensions/MathML/content-mathml.js +++ b/unpacked/extensions/MathML/content-mathml.js @@ -94,7 +94,7 @@ MathJax.Hub.Register.StartupHook("MathML Jax Ready",function () { MATHML.ctopXSLT.importStylesheet(MATHML.ParseXML(ctopStylesheet)); } else if (MathJax.Hub.Browser.isMSIE) { // nonstandard methods for Internet Explorer - if (MathJax.Hub.Browser.versionAtLeast("9.0")) { + if (MathJax.Hub.Browser.versionAtLeast("9.0") || (document.documentMode||0) >= 9) { // For Internet Explorer >= 9, use createProcessor ctop = new ActiveXObject("Msxml2.FreeThreadedDOMDocument"); ctop.loadXML(ctopStylesheet);