mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Tabs: fixed duration for show animation - setting wasn't considered
This commit is contained in:
parent
fac375df3b
commit
b81731dd76
@ -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]));
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user