Skip to content
Permalink
Browse files

Tabs: removed Safari 2 workaround, no longer supported

  • Loading branch information
Klaus Hartl
Klaus Hartl committed Jan 25, 2009
1 parent a7c0141 commit 0162350192645689a96bd4ce9c0249ffb5b940c7
Showing with 1 addition and 8 deletions.
  1. +1 −8 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

0 comments on commit 0162350

Please sign in to comment.
You can’t perform that action at this time.