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 @@ -550,11 +550,11 @@ $.extend( $.ui.accordion, {
550
550
// fix width before calculating height of hidden element
551
551
var s = options . toShow ;
552
552
originalWidth = s [ 0 ] . style . width ;
553
- s . width ( parseInt ( s . parent ( ) . width ( ) , 10 )
554
- - parseInt ( s . css ( "paddingLeft" ) , 10 )
555
- - parseInt ( s . css ( "paddingRight" ) , 10 )
556
- - ( parseInt ( s . css ( "borderLeftWidth" ) , 10 ) || 0 )
557
- - ( parseInt ( s . css ( "borderRightWidth" ) , 10 ) || 0 ) ) ;
553
+ s . width ( s . parent ( ) . width ( )
554
+ - parseFloat ( s . css ( "paddingLeft" ) )
555
+ - parseFloat ( s . css ( "paddingRight" ) )
556
+ - ( parseFloat ( s . css ( "borderLeftWidth" ) ) || 0 )
557
+ - ( parseFloat ( s . css ( "borderRightWidth" ) ) || 0 ) ) ;
558
558
559
559
$ . each ( fxAttrs , function ( i , prop ) {
560
560
hideProps [ prop ] = "hide" ;
You can’t perform that action at this time.
0 commit comments