aboutsummaryrefslogtreecommitdiffstats
path: root/demos/dialog/modal-message.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/dialog/modal-message.html')
-rw-r--r--demos/dialog/modal-message.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/dialog/modal-message.html b/demos/dialog/modal-message.html
index 985f2aba0..18e84e87d 100644
--- a/demos/dialog/modal-message.html
+++ b/demos/dialog/modal-message.html
@@ -18,7 +18,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-message" ).dialog({
modal: true,