aboutsummaryrefslogtreecommitdiffstats
path: root/ui/tests/draggable.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/tests/draggable.js')
-rw-r--r--ui/tests/draggable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/tests/draggable.js b/ui/tests/draggable.js
index a246d4747..e787d9149 100644
--- a/ui/tests/draggable.js
+++ b/ui/tests/draggable.js
@@ -3,7 +3,7 @@ var drag = function(el, dx, dy, complete) {
// speed = sync -> Drag syncrhonously.
// speed = fast|slow -> Drag asyncrhonously - animated.
- return $(el).userAction("drag", {
+ return $(el).simulate("drag", {
dx: dx||0, dy: dy||0, speed: 'sync', complete: complete
});
};