Skip to content
Permalink
Browse files

Effects: Properly normalizing arguments for named speeds.

Fixes #5192 - 1.8rc2 Toggle speed issue.
  • Loading branch information
scottgonzalez committed Feb 18, 2010
1 parent 9cabe84 commit 6d7196f8034c913d5a67023fcafd2107d4a0442c
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 = {};

0 comments on commit 6d7196f

Please sign in to comment.
You can’t perform that action at this time.