mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Merge pull request #535 from gnarf37/queue-true
Effects - Allow queue: true - Fixes #10445
This commit is contained in:
4
src/effects.js
vendored
4
src/effects.js
vendored
@@ -352,8 +352,8 @@ jQuery.extend({
|
||||
opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration :
|
||||
opt.duration in jQuery.fx.speeds ? jQuery.fx.speeds[ opt.duration ] : jQuery.fx.speeds._default;
|
||||
|
||||
// if undefined, set to fx
|
||||
if ( opt.queue == null ) {
|
||||
// normalize opt.queue - true/undefined/null -> "fx"
|
||||
if ( opt.queue == null || opt.queue === true ) {
|
||||
opt.queue = "fx";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user