浏览代码

updating example

Dante 10 年之前
父节点
当前提交
f57b656e72
共有 1 个文件被更改,包括 2 次插入1 次删除
  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',
                     title: 'Not in body',
                     message: 'But somewhere else.'
                     message: 'But somewhere else.'
                 });
                 });
-                $('#modal-container').append(dialog);
+                dialog.realize();
+                $('#modal-container').append(dialog.getModal());
                 dialog.open();
                 dialog.open();
             });
             });
         </script>
         </script>