Avoid IE10 compatibility mode (which says v7.0) but documentMode = 9 problem with transformNode() call.
This commit is contained in:
parent
1e9dcb81f8
commit
db87f413bb
|
@ -94,7 +94,7 @@ MathJax.Hub.Register.StartupHook("MathML Jax Ready",function () {
|
||||||
MATHML.ctopXSLT.importStylesheet(MATHML.ParseXML(ctopStylesheet));
|
MATHML.ctopXSLT.importStylesheet(MATHML.ParseXML(ctopStylesheet));
|
||||||
} else if (MathJax.Hub.Browser.isMSIE) {
|
} else if (MathJax.Hub.Browser.isMSIE) {
|
||||||
// nonstandard methods for Internet Explorer
|
// 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
|
// For Internet Explorer >= 9, use createProcessor
|
||||||
ctop = new ActiveXObject("Msxml2.FreeThreadedDOMDocument");
|
ctop = new ActiveXObject("Msxml2.FreeThreadedDOMDocument");
|
||||||
ctop.loadXML(ctopStylesheet);
|
ctop.loadXML(ctopStylesheet);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user