File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
unpacked/jax/output/NativeMML Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 556
556
// Create a MathML element
557
557
//
558
558
NativeMMLelement : function ( type ) {
559
- var math = ( isMSIE ? document . createElement ( "m:" + type ) :
560
- document . createElementNS ( nMML . MMLnamespace , type ) ) ;
559
+ var math = ( document . createElementNS ? document . createElementNS ( nMML . MMLnamespace , type ) :
560
+ ( HUB . Browser . mpNamespace ? document . createElement ( "m:" + type ) :
561
+ document . createElement ( type ) ) ) ;
561
562
math . isMathJax = true ;
562
563
return math ;
563
564
}
568
569
// Make inferred rows not include an mrow tag
569
570
//
570
571
toNativeMML : function ( parent ) {
571
- var i , m ;
572
+ var i , m ;
572
573
if ( this . inferred && this . parent . inferRow ) {
573
574
for ( i = 0 , m = this . data . length ; i < m ; i ++ ) {
574
575
if ( this . data [ i ] ) { this . data [ i ] . toNativeMML ( parent ) }
You can’t perform that action at this time.
0 commit comments