代码检查dislog.js中callback
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -13,7 +13,7 @@ var $dialogWrapper, | @@ -13,7 +13,7 @@ var $dialogWrapper, | ||
13 | dialogTemplate; | 13 | dialogTemplate; |
14 | 14 | ||
15 | function getInstance() { | 15 | function getInstance() { |
16 | - if (dialogTpl === undefined) { | 16 | + if (dialogTpl === null) { |
17 | dialogTpl = '<div id="dialog-wrapper" class="dialog-wrapper">' + | 17 | dialogTpl = '<div id="dialog-wrapper" class="dialog-wrapper">' + |
18 | '<div class="dialog-box">' + | 18 | '<div class="dialog-box">' + |
19 | '{{# hasHeader}}' + | 19 | '{{# hasHeader}}' + |
-
Please register or login to post a comment