aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.effect-shake.js
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2013-11-26 00:18:25 +0100
committerFelix Nagel <info@felixnagel.com>2013-11-26 00:18:25 +0100
commit5bc7fc2b1a248063b4d52086dfc32fae8601680e (patch)
tree82c176a82f64ca3c1a26648b9e3bf0d2f7282dd8 /ui/jquery.ui.effect-shake.js
parentc20f1f8457802f90f8f06bcd2a33c340c2226b7c (diff)
parent9a5f20bc7d5218f864fb65d5d20775596065280d (diff)
downloadjquery-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.js2
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 = {},