]> source.dussan.org Git - jquery-ui.git/commitdiff
Tabs: removed Safari 2 workaround, no longer supported
authorKlaus Hartl <klaus.hartl@googlemail.com>
Sun, 25 Jan 2009 23:47:40 +0000 (23:47 +0000)
committerKlaus Hartl <klaus.hartl@googlemail.com>
Sun, 25 Jan 2009 23:47:40 +0000 (23:47 +0000)
ui/ui.tabs.js

index 8fe81648399d85121c0b6895c48507228de0ac3f..e945197efe833d3ef012ed493657df95fbe3163b 100644 (file)
@@ -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