File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -483,11 +483,11 @@ $.extend( $.ui.accordion, {
483
483
// fix width before calculating height of hidden element
484
484
var s = options . toShow ;
485
485
originalWidth = s [ 0 ] . style . width ;
486
- s . width ( parseInt ( s . parent ( ) . width ( ) , 10 )
487
- - parseInt ( s . css ( "paddingLeft" ) , 10 )
488
- - parseInt ( s . css ( "paddingRight" ) , 10 )
489
- - ( parseInt ( s . css ( "borderLeftWidth" ) , 10 ) || 0 )
490
- - ( parseInt ( s . css ( "borderRightWidth" ) , 10 ) || 0 ) ) ;
486
+ s . width ( s . parent ( ) . width ( )
487
+ - parseFloat ( s . css ( "paddingLeft" ) )
488
+ - parseFloat ( s . css ( "paddingRight" ) )
489
+ - ( parseFloat ( s . css ( "borderLeftWidth" ) ) || 0 )
490
+ - ( parseFloat ( s . css ( "borderRightWidth" ) ) || 0 ) ) ;
491
491
492
492
$ . each ( fxAttrs , function ( i , prop ) {
493
493
hideProps [ prop ] = "hide" ;
You can’t perform that action at this time.
0 commit comments