diff options
author | Felix Nagel <info@felixnagel.com> | 2013-11-26 00:18:25 +0100 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2013-11-26 00:18:25 +0100 |
commit | 5bc7fc2b1a248063b4d52086dfc32fae8601680e (patch) | |
tree | 82c176a82f64ca3c1a26648b9e3bf0d2f7282dd8 /ui/jquery.ui.effect-shake.js | |
parent | c20f1f8457802f90f8f06bcd2a33c340c2226b7c (diff) | |
parent | 9a5f20bc7d5218f864fb65d5d20775596065280d (diff) | |
download | jquery-ui-5bc7fc2b1a248063b4d52086dfc32fae8601680e.tar.gz jquery-ui-5bc7fc2b1a248063b4d52086dfc32fae8601680e.zip |
Merge branch 'selectmenu' of github.com:jquery/jquery-ui into selectmenu
Diffstat (limited to 'ui/jquery.ui.effect-shake.js')
-rw-r--r-- | ui/jquery.ui.effect-shake.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.effect-shake.js b/ui/jquery.ui.effect-shake.js index 6ced33316..1e7e827e7 100644 --- a/ui/jquery.ui.effect-shake.js +++ b/ui/jquery.ui.effect-shake.js @@ -22,7 +22,7 @@ $.effects.effect.shake = function( o, done ) { distance = o.distance || 20, times = o.times || 3, anims = times * 2 + 1, - speed = Math.round(o.duration/anims), + speed = Math.round( o.duration / anims ), ref = (direction === "up" || direction === "down") ? "top" : "left", positiveMotion = (direction === "up" || direction === "left"), animation = {}, |