]> source.dussan.org Git - jquery-ui.git/commitdiff
Tabs: fixed duration for show animation - setting wasn't considered
authorKlaus Hartl <klaus.hartl@googlemail.com>
Wed, 4 Feb 2009 20:46:54 +0000 (20:46 +0000)
committerKlaus Hartl <klaus.hartl@googlemail.com>
Wed, 4 Feb 2009 20:46:54 +0000 (20:46 +0000)
ui/ui.tabs.js

index 8d1ae1d7934ac9d9db0930458a4821ca1593fb5a..7d077b17372fbe55303734d4e7ddb8c9b6e91309 100644 (file)
@@ -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]));
                                        });