aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/all.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/visual/all.html')
-rw-r--r--tests/visual/all.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/visual/all.html b/tests/visual/all.html
index 56be279df..653227e0b 100644
--- a/tests/visual/all.html
+++ b/tests/visual/all.html
@@ -21,9 +21,8 @@
$(function() {
$("#accordion").accordion({ header: "h3" });
$("#datepicker").datepicker();
- var dlg = $("#dlg").remove();
- $("#dialog").click(function() {
- dlg.appendTo('body').dialog();
+ $("#dialog button").click(function() {
+ $("#dlg").clone().dialog();
});
$("#draggable").draggable();
$(".draggable").draggable();