Merge remote-tracking branch 'origin/develop'
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -18,7 +18,7 @@ function init($container) { | @@ -18,7 +18,7 @@ function init($container) { | ||
18 | var html = '<div class="loading-mask hide"><div class="loading"></div></div>'; | 18 | var html = '<div class="loading-mask hide"><div class="loading"></div></div>'; |
19 | 19 | ||
20 | hasInit = true; | 20 | hasInit = true; |
21 | - if (typeof $container === 'undefined') { | 21 | + if ($container === undefined) { |
22 | $container = $page; | 22 | $container = $page; |
23 | } | 23 | } |
24 | 24 |
-
Please register or login to post a comment