aboutsummaryrefslogtreecommitdiffstats
path: root/ui/effects.fold.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/effects.fold.js
parent2e0f967680447e93e04eea2764f53ea3977b4f5f (diff)
downloadjquery-ui-51c338b9edc14fe5b05138f3fc4093c4459c30ea.tar.gz
jquery-ui-51c338b9edc14fe5b05138f3fc4093c4459c30ea.zip
all: fixed jslint warnings
Diffstat (limited to 'ui/effects.fold.js')
-rw-r--r--ui/effects.fold.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/effects.fold.js b/ui/effects.fold.js
index d073362c4..a5e9bd7ae 100644
--- a/ui/effects.fold.js
+++ b/ui/effects.fold.js
@@ -32,7 +32,7 @@ $.effects.fold = function(o) {
var ref = widthFirst ? ['width', 'height'] : ['height', 'width'];
var distance = widthFirst ? [wrapper.width(), wrapper.height()] : [wrapper.height(), wrapper.width()];
var percent = /([0-9]+)%/.exec(size);
- if(percent) size = parseInt(percent[1]) / 100 * distance[mode == 'hide' ? 0 : 1];
+ if(percent) size = parseInt(percent[1],10) / 100 * distance[mode == 'hide' ? 0 : 1];
if(mode == 'show') wrapper.css(horizFirst ? {height: 0, width: size} : {height: size, width: 0}); // Shift
// Animation