From 70e23004eab50e25b7306c2ba03cd12ce094d69a Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Tue, 4 Aug 2015 15:05:06 -0400 Subject: [PATCH] Work around problem with MathPlayer not being triggered by createElementNS in IE11. Resolves issue #1074. --- unpacked/jax/output/NativeMML/jax.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unpacked/jax/output/NativeMML/jax.js b/unpacked/jax/output/NativeMML/jax.js index 63d8e2e84..3c6f7c289 100644 --- a/unpacked/jax/output/NativeMML/jax.js +++ b/unpacked/jax/output/NativeMML/jax.js @@ -556,8 +556,8 @@ // Create a MathML element // NativeMMLelement: function (type) { - var math = (document.createElementNS ? document.createElementNS(nMML.MMLnamespace,type) : - (HUB.Browser.mpNamespace ? document.createElement("m:"+type) : + var math = ( HUB.Browser.mpNamespace ? document.createElement("m:"+type) : + (document.createElementNS ? document.createElementNS(nMML.MMLnamespace,type) : document.createElement(type))); math.isMathJax = true; return math;