r1994 - trunk/ui
r1994 - trunk/ui
Author: klaus.hartl
Date: Wed Feb 4 12:46:54 2009
New Revision: 1994
Modified:
trunk/ui/ui.tabs.js
Log:
Tabs: fixed duration for show animation - setting wasn't considered
Modified: trunk/ui/ui.tabs.js
==============================================================================
--- trunk/ui/ui.tabs.js (original)
+++ trunk/ui/ui.tabs.js Wed Feb 4 12:46:54 2009
@@ -230,7 +230,7 @@
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]));
});