aboutsummaryrefslogtreecommitdiffstats
path: root/demos/dialog/modal.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/dialog/modal.html')
-rw-r--r--demos/dialog/modal.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/dialog/modal.html b/demos/dialog/modal.html
index 832d66f6a..1664bd1a6 100644
--- a/demos/dialog/modal.html
+++ b/demos/dialog/modal.html
@@ -17,7 +17,7 @@
<script>
$(function() {
// a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore!
- $( "#dialog" ).dialog( "destroy" );
+ $( "#dialog:ui-dialog" ).dialog( "destroy" );
$( "#dialog-modal" ).dialog({
height: 140,