diff options
author | Paul Bakaus <paul.bakaus@googlemail.com> | 2009-01-02 13:28:50 +0000 |
---|---|---|
committer | Paul Bakaus <paul.bakaus@googlemail.com> | 2009-01-02 13:28:50 +0000 |
commit | 10b72413643bfa4a505a77efee6db8b50120c4e3 (patch) | |
tree | bbb46fed172cd384a8237bcaf55fcd9cffccc38d /demos | |
parent | 39a74f1ccfd5613d023a5b7b22103f3df6aaa5b6 (diff) | |
download | jquery-ui-10b72413643bfa4a505a77efee6db8b50120c4e3.tar.gz jquery-ui-10b72413643bfa4a505a77efee6db8b50120c4e3.zip |
demos: sortable: fixed connectWith + delay/distance demos
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 }); }); |