diff options
author | Paul Bakaus <paul.bakaus@googlemail.com> | 2009-02-10 13:11:34 +0000 |
---|---|---|
committer | Paul Bakaus <paul.bakaus@googlemail.com> | 2009-02-10 13:11:34 +0000 |
commit | 51c338b9edc14fe5b05138f3fc4093c4459c30ea (patch) | |
tree | 8aca5bf29e7a100fb3869a7f181653df1dab9c2c /ui/ui.accordion.js | |
parent | 2e0f967680447e93e04eea2764f53ea3977b4f5f (diff) | |
download | jquery-ui-51c338b9edc14fe5b05138f3fc4093c4459c30ea.tar.gz jquery-ui-51c338b9edc14fe5b05138f3fc4093c4459c30ea.zip |
all: fixed jslint warnings
Diffstat (limited to 'ui/ui.accordion.js')
-rw-r--r-- | ui/ui.accordion.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.accordion.js b/ui/ui.accordion.js index 679f7a017..4da135f71 100644 --- a/ui/ui.accordion.js +++ b/ui/ui.accordion.js @@ -423,7 +423,7 @@ $.extend($.ui.accordion, { // fix width before calculating height of hidden element var s = options.toShow; originalWidth = s[0].style.width; - s.width( parseInt(s.parent().width()) - parseInt(s.css("paddingLeft")) - parseInt(s.css("paddingRight")) - parseInt(s.css("borderLeftWidth")) - parseInt(s.css("borderRightWidth")) ); + s.width( parseInt(s.parent().width(),10) - parseInt(s.css("paddingLeft"),10) - parseInt(s.css("paddingRight"),10) - parseInt(s.css("borderLeftWidth"),10) - parseInt(s.css("borderRightWidth"),10) ); $.each(fxAttrs, function(i, prop) { hideProps[prop] = 'hide'; |