aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.tabs.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.tabs.js
parent2e0f967680447e93e04eea2764f53ea3977b4f5f (diff)
downloadjquery-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.js4
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();