aboutsummaryrefslogtreecommitdiffstats
path: root/src/effects.js
diff options
context:
space:
mode:
authorCorey Frang <gnarf@gnarf.net>2011-10-07 10:16:38 -0500
committerCorey Frang <gnarf@gnarf.net>2011-10-07 10:16:38 -0500
commit1ba0f9c3ed7d7d8ecf245a5fc7cdf442652927f8 (patch)
tree862e59bdd6a0a2fda07db4bcbe6d13bf52de14ee /src/effects.js
parentcec0d0d421063924cf0326db380b0d5a08675968 (diff)
downloadjquery-1ba0f9c3ed7d7d8ecf245a5fc7cdf442652927f8.tar.gz
jquery-1ba0f9c3ed7d7d8ecf245a5fc7cdf442652927f8.zip
Effects - Allow queue: true - Fixes #10445
Diffstat (limited to 'src/effects.js')
-rw-r--r--src/effects.js4
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";
}