diff options
author | Corey Frang <gnarf@gnarf.net> | 2011-10-07 10:16:38 -0500 |
---|---|---|
committer | Corey Frang <gnarf@gnarf.net> | 2011-10-07 10:16:38 -0500 |
commit | 1ba0f9c3ed7d7d8ecf245a5fc7cdf442652927f8 (patch) | |
tree | 862e59bdd6a0a2fda07db4bcbe6d13bf52de14ee /src/effects.js | |
parent | cec0d0d421063924cf0326db380b0d5a08675968 (diff) | |
download | jquery-1ba0f9c3ed7d7d8ecf245a5fc7cdf442652927f8.tar.gz jquery-1ba0f9c3ed7d7d8ecf245a5fc7cdf442652927f8.zip |
Effects - Allow queue: true - Fixes #10445
Diffstat (limited to 'src/effects.js')
-rw-r--r-- | src/effects.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/effects.js b/src/effects.js index 67ac8bb41..147763d63 100644 --- a/src/effects.js +++ b/src/effects.js @@ -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"; } |