aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/visual/draggable.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/visual/draggable.html b/tests/visual/draggable.html
index 342265c07..781e6e4cb 100644
--- a/tests/visual/draggable.html
+++ b/tests/visual/draggable.html
@@ -8,7 +8,7 @@
<script type="text/javascript" src="../../ui/ui.draggable.js"></script>
<script type="text/javascript">
$(function() {
- $("#draggable").draggable();
+ $("#draggable").draggable({ handle: "span", drag: function() { console.log(1); } });
});
</script>
</head>
@@ -17,9 +17,11 @@
<ul class="plugins">
<li>
Draggable
- <div id="draggable"></div>
+ <div id="draggable"><span>Handle</span></div>
+ <div style="height: 1000px;"></div>
</li>
</ul>
+<div style="height: 1000px;"></div>
</body>
</html>