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.tabs.js | |
parent | 2e0f967680447e93e04eea2764f53ea3977b4f5f (diff) | |
download | jquery-ui-51c338b9edc14fe5b05138f3fc4093c4459c30ea.tar.gz jquery-ui-51c338b9edc14fe5b05138f3fc4093c4459c30ea.zip |
all: fixed jslint warnings
Diffstat (limited to 'ui/ui.tabs.js')
-rw-r--r-- | ui/ui.tabs.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/ui.tabs.js b/ui/ui.tabs.js index 94fc4b7b1..0938a9204 100644 --- a/ui/ui.tabs.js +++ b/ui/ui.tabs.js @@ -409,7 +409,7 @@ $.widget("ui.tabs", { } o.disabled = $.map(o.disabled, - function(n, i) { return n >= index ? ++n : n }); + function(n, i) { return n >= index ? ++n : n; }); this._tabify(); @@ -437,7 +437,7 @@ $.widget("ui.tabs", { this.select(index + (index + 1 < this.$tabs.length ? 1 : -1)); o.disabled = $.map($.grep(o.disabled, function(n, i) { return n != index; }), - function(n, i) { return n >= index ? --n : n }); + function(n, i) { return n >= index ? --n : n; }); this._tabify(); |