Browse Source

updating example

Dante 10 years ago
parent
commit
f57b656e72
1 changed files with 2 additions and 1 deletions
  1. 2 1
      examples/play/append-to-div.html

+ 2 - 1
examples/play/append-to-div.html

@@ -20,7 +20,8 @@
                     title: 'Not in body',
                     message: 'But somewhere else.'
                 });
-                $('#modal-container').append(dialog);
+                dialog.realize();
+                $('#modal-container').append(dialog.getModal());
                 dialog.open();
             });
         </script>