Skip to content
Permalink
Browse files

sortable: changed default distance to 1

  • Loading branch information
Paul Bakaus
Paul Bakaus committed Jun 24, 2008
1 parent 26c84c7 commit c73ccd5c71446c9bdd4aa01dafe1c97faf316c5c
Showing with 5 additions and 3 deletions.
  1. +4 −2 tests/visual/draggable.html
  2. +1 −1 ui/ui.sortable.js
@@ -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>
@@ -593,7 +593,7 @@ $.extend($.ui.sortable, {
defaults: {
helper: "clone",
tolerance: "guess",
distance: 0,
distance: 1,
delay: 0,
scroll: true,
scrollSensitivity: 20,

0 comments on commit c73ccd5

Please sign in to comment.
You can’t perform that action at this time.