aboutsummaryrefslogtreecommitdiffstats
path: root/demos/sortable/delay.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/sortable/delay.html')
-rw-r--r--demos/sortable/delay.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/sortable/delay.html b/demos/sortable/delay.html
index 27f5151dc..037865c82 100644
--- a/demos/sortable/delay.html
+++ b/demos/sortable/delay.html
@@ -13,7 +13,7 @@
</style>
<script type="text/javascript">
$(function() {
- $(".demo ul:eq(0)").sortable({
+ $("#sortable").sortable({
delay: 1000
});
});
@@ -24,7 +24,7 @@
<p>Delay of 1000ms</p>
-<ul>
+<ul id="sortable">
<li class="ui-state-default">Item 1</li>
<li class="ui-state-default">Item 2</li>
<li class="ui-state-default">Item 3</li>