From 66761ebe9a9ad8ec34b9d8356e81ed81f8d33ccb Mon Sep 17 00:00:00 2001 From: Klaus Hartl Date: Sun, 22 Feb 2009 12:01:33 +0000 Subject: [PATCH] removed invalid character, added missing semicolon --- ui/ui.tabs.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/ui.tabs.js b/ui/ui.tabs.js index ee10c79cb..26d4c2ad3 100644 --- a/ui/ui.tabs.js +++ b/ui/ui.tabs.js @@ -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(); } -- 2.39.5