File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -377,7 +377,7 @@ $.widget( "ui.buttonset", {
377
377
} ,
378
378
379
379
refresh : function ( ) {
380
- var ltr = this . element . css ( "direction" ) === "ltr " ;
380
+ var rtl = this . element . css ( "direction" ) === "rtl " ;
381
381
382
382
this . buttons = this . element . find ( this . options . items )
383
383
. filter ( ":ui-button" )
@@ -391,10 +391,10 @@ $.widget( "ui.buttonset", {
391
391
} )
392
392
. removeClass ( "ui-corner-all ui-corner-left ui-corner-right" )
393
393
. filter ( ":first" )
394
- . addClass ( ltr ? "ui-corner-left " : "ui-corner-right " )
394
+ . addClass ( rtl ? "ui-corner-right " : "ui-corner-left " )
395
395
. end ( )
396
396
. filter ( ":last" )
397
- . addClass ( ltr ? "ui-corner-right " : "ui-corner-left " )
397
+ . addClass ( rtl ? "ui-corner-left " : "ui-corner-right " )
398
398
. end ( )
399
399
. end ( ) ;
400
400
} ,
You can’t perform that action at this time.
0 commit comments