diff options
author | Ariel Flesler <aflesler@gmail.com> | 2008-10-22 15:23:37 +0000 |
---|---|---|
committer | Ariel Flesler <aflesler@gmail.com> | 2008-10-22 15:23:37 +0000 |
commit | 30751dd9f170e53e5feb6b92a64aa50970db69ef (patch) | |
tree | 37e523b3ef2b51d97debfbe4202da3920c5e986b /src/fx.js | |
parent | ad54d14ae55dd7e8063dc0c2c67346c4345d7259 (diff) | |
download | jquery-30751dd9f170e53e5feb6b92a64aa50970db69ef.tar.gz jquery-30751dd9f170e53e5feb6b92a64aa50970db69ef.zip |
jquery fx: closes #3496. $.fx.off = true; turns off animations.
Diffstat (limited to 'src/fx.js')
-rw-r--r-- | src/fx.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -208,7 +208,7 @@ jQuery.extend({ 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 |