diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-02-18 04:40:39 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-02-18 04:40:39 +0000 |
commit | 6d7196f8034c913d5a67023fcafd2107d4a0442c (patch) | |
tree | 61d33b7c214c1bb997933514498a88d001b1ce10 /ui/jquery.effects.core.js | |
parent | 9cabe8403e9755b8226ed2ffdd1034d98de9dcaa (diff) | |
download | jquery-ui-6d7196f8034c913d5a67023fcafd2107d4a0442c.tar.gz jquery-ui-6d7196f8034c913d5a67023fcafd2107d4a0442c.zip |
Effects: Properly normalizing arguments for named speeds.
Fixes #5192 - 1.8rc2 Toggle speed issue.
Diffstat (limited to 'ui/jquery.effects.core.js')
-rw-r--r-- | ui/jquery.effects.core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.effects.core.js b/ui/jquery.effects.core.js index 7656ff41a..2d0c873d4 100644 --- a/ui/jquery.effects.core.js +++ b/ui/jquery.effects.core.js @@ -418,7 +418,7 @@ function _normalizeArguments(effect, options, speed, callback) { speed = null; options = {}; } - if (typeof options == 'number') { + if (typeof options == 'number' || $.fx.speeds[options]) { callback = speed; speed = options; options = {}; |