From 63f11cd243f78d1a40f06637f93b82de29b1a4dc Mon Sep 17 00:00:00 2001 From: Richard Worth Date: Sat, 21 Jun 2008 10:04:40 +0000 Subject: [PATCH] tests sortable - fixed failing enable test --- tests/sortable.html | 10 +++++----- 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 @@
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() { -- 2.39.5