From c958e0c7140dee21ec0e9988e2e5e3a41e62e011 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Zaefferer?= Date: Tue, 15 Sep 2009 08:37:22 +0000 Subject: [PATCH] draggable: tests cleanup, put all elements into #main --- tests/unit/draggable/draggable.html | 3 +-- tests/unit/draggable/draggable_options.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/unit/draggable/draggable.html b/tests/unit/draggable/draggable.html index 59e5e2057..35e8c578d 100644 --- a/tests/unit/draggable/draggable.html +++ b/tests/unit/draggable/draggable.html @@ -25,9 +25,8 @@
Relative
Absolute
+
-
- diff --git a/tests/unit/draggable/draggable_options.js b/tests/unit/draggable/draggable_options.js index 7afeab904..72fa28639 100644 --- a/tests/unit/draggable/draggable_options.js +++ b/tests/unit/draggable/draggable_options.js @@ -93,7 +93,7 @@ test("{ axis: ? }, unexpected", function() { test("{ cancel: ':input,option' }, default", function() { equals(draggable_defaults.cancel, ":input,option"); - $('
').appendTo('body'); + $('
').appendTo('#main'); el = $("#draggable-option-cancel-default").draggable({ cancel: ":input,option" }); drag("#draggable-option-cancel-default", 50, 50);