]> source.dussan.org Git - jquery-ui.git/commitdiff
Tabs: TODO check
authorKlaus Hartl <klaus.hartl@googlemail.com>
Sun, 25 Jan 2009 23:52:49 +0000 (23:52 +0000)
committerKlaus Hartl <klaus.hartl@googlemail.com>
Sun, 25 Jan 2009 23:52:49 +0000 (23:52 +0000)
ui/ui.tabs.js

index e945197efe833d3ef012ed493657df95fbe3163b..776654a07ac52419a55b4be5a52c1a4d537164ec 100644 (file)
@@ -224,7 +224,7 @@ $.widget("ui.tabs", {
                }
                // update selected after add/remove
                else
-                       o.selected = this.$lis.index(this.$lis.filter('.ui-tabs-selected')); // TODO check adding with all unselected
+                       o.selected = this.$lis.index(this.$lis.filter('.ui-tabs-selected'));
 
                // set or update cookie after init and add/remove respectively
                if (o.cookie) this._cookie(o.selected, o.cookie);