File tree 1 file changed +8
-4
lines changed
unpacked/jax/output/PreviewHTML
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 767
767
bbox = this . PHTMLbboxFor ( this . base ) ,
768
768
BBOX = this . PHTML , acc = obox . acc ;
769
769
if ( this . data [ this . over ] ) {
770
- span . lastChild . firstChild . style . marginLeft = obox . l =
771
- span . lastChild . firstChild . style . marginRight = obox . r = 0 ;
770
+ if ( span . lastChild . firstChild ) {
771
+ span . lastChild . firstChild . style . marginLeft = obox . l =
772
+ span . lastChild . firstChild . style . marginRight = obox . r = 0 ;
773
+ }
772
774
var over = HTML . Element ( "span" , { } , [ [ "span" , { className :"MJXp-over" } ] ] ) ;
773
775
over . firstChild . appendChild ( span . lastChild ) ;
774
776
if ( span . childNodes . length > ( this . data [ this . under ] ? 1 : 0 ) )
786
788
else { span . appendChild ( over ) }
787
789
}
788
790
if ( this . data [ this . under ] ) {
789
- span . lastChild . firstChild . style . marginLeft = ubox . l =
790
- span . lastChild . firstChild . marginRight = ubox . r = 0 ;
791
+ if ( span . lastChild . firstChild ) {
792
+ span . lastChild . firstChild . style . marginLeft = ubox . l =
793
+ span . lastChild . firstChild . marginRight = ubox . r = 0 ;
794
+ }
791
795
this . data [ this . under ] . PHTMLhandleScriptlevel ( span . lastChild ) ;
792
796
}
793
797
BBOX . w = Math . max ( .8 * obox . w , .8 * ubox . w , bbox . w ) ;
You can’t perform that action at this time.
0 commit comments