]> source.dussan.org Git - jquery-ui.git/commitdiff
removed invalid character, added missing semicolon
authorKlaus Hartl <klaus.hartl@googlemail.com>
Sun, 22 Feb 2009 12:01:33 +0000 (12:01 +0000)
committerKlaus Hartl <klaus.hartl@googlemail.com>
Sun, 22 Feb 2009 12:01:33 +0000 (12:01 +0000)
ui/ui.tabs.js

index ee10c79cb0869805777b2526bda1c8d46725333d..26d4c2ad31a152c61e0173984234bac39f687021 100644 (file)
@@ -151,14 +151,14 @@ $.widget("ui.tabs", {
                                if (!o.selected && this.$lis.filter('.ui-tabs-selected').length) {
                                        o.selected = this.$lis.index(this.$lis.filter('.ui-tabs-selected'));
                                }
-                               o.selected = o.selected || 0;
+                               o.selected = o.selected || 0;
                        }
                        else if (o.selected === null) { // usage of null is deprecated, TODO remove in next release
                                o.selected = -1;
                        }
 
                        // sanity check - default to first tab...
-                       o.selected = ((o.selected >= 0 && this.$tabs[o.selected]) || o.selected < 0) ? o.selected : 0
+                       o.selected = ((o.selected >= 0 && this.$tabs[o.selected]) || o.selected < 0) ? o.selected : 0;
 
                        // Take disabling tabs via class attribute from HTML
                        // into account and update option properly.
@@ -183,7 +183,7 @@ $.widget("ui.tabs", {
                                };
 
                                // load if remote tab else just trigger show event
-                               $.data(this.$tabs[o.selected], 'load.tabs') ? this.load(o.selected, onShow): onShow();
+                               $.data(this.$tabs[o.selected], 'load.tabs') ? this.load(o.selected, onShow) : onShow();
 
                        }