mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-01-29 02:38:00 -05:00
demos: sortable: fixed connectWith + delay/distance demos
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$("ul").sortable({
|
||||
$(".demo ul").sortable({
|
||||
connectWith: ['ul']
|
||||
});
|
||||
});
|
||||
|
||||
@@ -13,10 +13,10 @@
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$("ul:eq(0)").sortable({
|
||||
$(".demo ul:eq(0)").sortable({
|
||||
delay: 1000
|
||||
});
|
||||
$("ul:eq(1)").sortable({
|
||||
$(".demo ul:eq(1)").sortable({
|
||||
distance: 50
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user