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

This commit is contained in:
Davide P. Cervone 2015-08-04 15:05:06 -04:00
parent 8c2ed0c91c
commit 70e23004ea

View File

@ -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;