Fix NativeMMLelement to work with IE8 and below when MathPlayer isn't in place.

This commit is contained in:
Davide P. Cervone 2015-01-26 12:03:43 -05:00
parent dd3da20704
commit 90af9db319

View File

@ -556,8 +556,9 @@
// Create a MathML element
//
NativeMMLelement: function (type) {
var math = (isMSIE ? document.createElement("m:"+type) :
document.createElementNS(nMML.MMLnamespace,type));
var math = (document.createElementNS ? document.createElementNS(nMML.MMLnamespace,type) :
(HUB.Browser.mpNamespace ? document.createElement("m:"+type) :
document.createElement(type)));
math.isMathJax = true;
return math;
}