File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -45,14 +45,11 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
45
45
46
46
MML . TeXmathchoice = MML . mbase . Subclass ( {
47
47
type : "TeXmathchoice" , notParent : true ,
48
- choice : function ( ) {
49
- if ( this . selection == null ) {
50
- this . selection = 0 ;
51
- var values = this . getValues ( "displaystyle" , "scriptlevel" ) ;
52
- if ( values . scriptlevel > 0 ) { this . selection = Math . min ( 3 , values . scriptlevel + 1 ) }
53
- else { this . selection = ( values . displaystyle ? 0 : 1 ) }
54
- }
55
- return this . selection ;
48
+ choice : function ( nocache ) {
49
+ var selection = 0 , values = this . getValues ( "displaystyle" , "scriptlevel" ) ;
50
+ if ( values . scriptlevel > 0 ) { selection = Math . min ( 3 , values . scriptlevel + 1 ) }
51
+ else { selection = ( values . displaystyle ? 0 : 1 ) }
52
+ return selection ;
56
53
} ,
57
54
selected : function ( ) { return this . data [ this . choice ( ) ] } ,
58
55
setTeXclass : function ( prev ) { return this . selected ( ) . setTeXclass ( prev ) } ,
You can’t perform that action at this time.
0 commit comments