Skip to content
Permalink
Browse files

Tabs: fixed duration for show animation - setting wasn't considered

  • Loading branch information
Klaus Hartl
Klaus Hartl committed Feb 4, 2009
1 parent fac375d commit b81731dd76bfed9757dd9d0a207ff242495fe773
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/ui.tabs.js
@@ -230,7 +230,7 @@ $.widget("ui.tabs", {
var showTab = showFx ?
function(clicked, $show) {
$show.hide().removeClass('ui-tabs-hide') // avoid flicker that way
.animate(showFx, 500, function() {
.animate(showFx, showFx.duration || 'normal', function() {
resetStyle($show, showFx);
self._trigger('show', null, self._ui(clicked, $show[0]));
});

0 comments on commit b81731d

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