@@ -258,8 +258,8 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
258
258
* Implement AMS generalized fraction
259
259
*/
260
260
Genfrac : function ( name , left , right , thick , style ) {
261
- if ( left == null ) { left = this . GetDelimiterArg ( name ) } else { left = this . convertDelimiter ( left ) }
262
- if ( right == null ) { right = this . GetDelimiterArg ( name ) } else { right = this . convertDelimiter ( right ) }
261
+ if ( left == null ) { left = this . GetDelimiterArg ( name ) }
262
+ if ( right == null ) { right = this . GetDelimiterArg ( name ) }
263
263
if ( thick == null ) { thick = this . GetArgument ( name ) }
264
264
if ( style == null ) { style = this . trimSpaces ( this . GetArgument ( name ) ) }
265
265
var num = this . ParseArg ( name ) ;
@@ -399,12 +399,9 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
399
399
*/
400
400
GetDelimiterArg : function ( name ) {
401
401
var c = this . trimSpaces ( this . GetArgument ( name ) ) ;
402
- if ( c == "" ) { return null }
403
- if ( TEXDEF . delimiter [ c ] == null ) {
404
- TEX . Error ( [ "MissingOrUnrecognizedDelim" ,
405
- "Missing or unrecognized delimiter for %1" , name ] ) ;
406
- }
407
- return this . convertDelimiter ( c ) ;
402
+ if ( c == "" ) return null ;
403
+ if ( TEXDEF . delimiter [ c ] ) return c ;
404
+ TEX . Error ( [ "MissingOrUnrecognizedDelim" , "Missing or unrecognized delimiter for %1" , name ] ) ;
408
405
} ,
409
406
410
407
/*
0 commit comments