www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit db87f413bb221317bde78ee1e4853b780556aa73
parent 1e9dcb81f8c9c8a756a4e125708bd860eb713fa8
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Sun,  4 May 2014 15:52:53 -0400

Avoid IE10 compatibility mode (which says v7.0) but documentMode = 9 problem with transformNode() call.

Diffstat:
Munpacked/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 @@ -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);