diff options
Diffstat (limited to 'tests')
-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() {
|