diff options
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(); |