aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.accordion.js
diff options
context:
space:
mode:
authorPaul Bakaus <paul.bakaus@googlemail.com>2009-02-10 13:11:34 +0000
committerPaul Bakaus <paul.bakaus@googlemail.com>2009-02-10 13:11:34 +0000
commit51c338b9edc14fe5b05138f3fc4093c4459c30ea (patch)
tree8aca5bf29e7a100fb3869a7f181653df1dab9c2c /ui/ui.accordion.js
parent2e0f967680447e93e04eea2764f53ea3977b4f5f (diff)
downloadjquery-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.js2
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';