diff options
Diffstat (limited to 'demos')
-rw-r--r-- | demos/sortable/connectwith.html | 2 | ||||
-rw-r--r-- | demos/sortable/delaydistance.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/demos/sortable/connectwith.html b/demos/sortable/connectwith.html index 58b14582a..e6d1afa38 100644 --- a/demos/sortable/connectwith.html +++ b/demos/sortable/connectwith.html @@ -13,7 +13,7 @@ </style> <script type="text/javascript"> $(function() { - $("ul").sortable({ + $(".demo ul").sortable({ connectWith: ['ul'] }); }); diff --git a/demos/sortable/delaydistance.html b/demos/sortable/delaydistance.html index c8a8cd109..c5870b9f0 100644 --- a/demos/sortable/delaydistance.html +++ b/demos/sortable/delaydistance.html @@ -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 }); }); |