Skip to main content

Bug Tracker

Side navigation

Ticket #3496: fx-off[5893].diff


File fx-off[5893].diff, 0.5 KB (added by flesler, October 18, 2008 11:40PM UTC)
Index: fx.js
===================================================================
--- fx.js	(revision 5893)
+++ fx.js	(working copy)
@@ -208,7 +208,7 @@
 			easing: fn && easing || easing && easing.constructor != Function && easing
 		};
 
-		opt.duration = typeof opt.duration == 'number' ? opt.duration :
+		opt.duration = jQuery.fx.off ? 0 : typeof opt.duration == 'number' ? opt.duration :
 			jQuery.fx.speeds[opt.duration] || jQuery.fx.speeds._default;
 
 		// Queueing

Download in other formats:

Original Format