From 0162350192645689a96bd4ce9c0249ffb5b940c7 Mon Sep 17 00:00:00 2001 From: Klaus Hartl Date: Sun, 25 Jan 2009 23:47:40 +0000 Subject: [PATCH] Tabs: removed Safari 2 workaround, no longer supported --- ui/ui.tabs.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/ui/ui.tabs.js b/ui/ui.tabs.js index 8fe816483..e945197ef 100644 --- a/ui/ui.tabs.js +++ b/ui/ui.tabs.js @@ -439,14 +439,7 @@ $.widget("ui.tabs", { if ($.inArray(index, o.disabled) == -1) return; - var $li = this.$lis.eq(index).removeClass('ui-state-disabled'); - if ($.browser.safari) { // fix disappearing tab (that used opacity indicating disabling) after enabling in Safari 2... - $li.css('display', 'inline-block'); - setTimeout(function() { - $li.css('display', 'block'); - }, 0); - } - + this.$lis.eq(index).removeClass('ui-state-disabled'); o.disabled = $.grep(o.disabled, function(n, i) { return n != index; }); // callback