www

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

commit 70e23004eab50e25b7306c2ba03cd12ce094d69a
parent 8c2ed0c91c2cda869121b9063f4e5fd4a3dc08f6
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Tue,  4 Aug 2015 15:05:06 -0400

Work around problem with MathPlayer not being triggered by createElementNS in IE11.  Resolves issue #1074.

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