aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPaul Bakaus <paul.bakaus@googlemail.com>2008-06-24 14:29:29 +0000
committerPaul Bakaus <paul.bakaus@googlemail.com>2008-06-24 14:29:29 +0000
commitc73ccd5c71446c9bdd4aa01dafe1c97faf316c5c (patch)
tree33e7984ab341e28821b6b0eb6de036829d262e90 /tests
parent26c84c7e9b7809d650c930d02d61fd0ae15b9a05 (diff)
downloadjquery-ui-c73ccd5c71446c9bdd4aa01dafe1c97faf316c5c.tar.gz
jquery-ui-c73ccd5c71446c9bdd4aa01dafe1c97faf316c5c.zip
sortable: changed default distance to 1
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>