diff options
author | Richard Worth <rdworth@gmail.com> | 2008-06-21 10:04:40 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2008-06-21 10:04:40 +0000 |
commit | 63f11cd243f78d1a40f06637f93b82de29b1a4dc (patch) | |
tree | 34932e2883f41b1b9c1f3cac0cdd6f2a570744c1 | |
parent | 77c5305b2ec7d627f40acb96decc229b74428094 (diff) | |
download | jquery-ui-63f11cd243f78d1a40f06637f93b82de29b1a4dc.tar.gz jquery-ui-63f11cd243f78d1a40f06637f93b82de29b1a4dc.zip |
tests sortable - fixed failing enable test
-rw-r--r-- | tests/sortable.html | 10 | ||||
-rw-r--r-- | tests/sortable.js | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/tests/sortable.html b/tests/sortable.html index 5aeee7f8d..102cdbd5c 100644 --- a/tests/sortable.html +++ b/tests/sortable.html @@ -33,11 +33,11 @@ <div id="main" style="border: 1px solid black; padding: 10px; margin: 10px;">
<ul id="sortable">
- <li>Item 1<li>
- <li>Item 2<li>
- <li>Item 3<li>
- <li>Item 4<li>
- <li>Item 5<li>
+ <li>Item 1</li>
+ <li>Item 2</li>
+ <li>Item 3</li>
+ <li>Item 4</li>
+ <li>Item 5</li>
</ul>
</div>
diff --git a/tests/sortable.js b/tests/sortable.js index acfd8d9df..7cde74c04 100644 --- a/tests/sortable.js +++ b/tests/sortable.js @@ -76,7 +76,7 @@ test("enable", function() { expect(4);
el = $("#sortable").sortable({ disabled: true });
- sort($("li", el)[0], 0, 50, 0, '.sortable({ disabled: true })');
+ sort($("li", el)[0], 0, 40, 0, '.sortable({ disabled: true })');
el.sortable("enable");
equals(el.data("disabled.sortable"), false, "disabled.sortable getter");
@@ -86,7 +86,7 @@ test("enable", function() { el.data("disabled.sortable", false);
equals(el.data("disabled.sortable"), false, "disabled.sortable setter");
- sort($("li", el)[0], 0, 20, 2, '.data("disabled.sortable", false)');
+ sort($("li", el)[0], 0, 40, 2, '.data("disabled.sortable", false)');
});
test("disable", function() {
|