Showing
2 changed files
with
3 additions
and
2 deletions
framework @ 119c247f
@@ -15,11 +15,12 @@ var $loading, | @@ -15,11 +15,12 @@ var $loading, | ||
15 | 15 | ||
16 | // 初始化 | 16 | // 初始化 |
17 | function init($container) { | 17 | function init($container) { |
18 | + var html = '<div class="loading-mask hide"><div class="loading"></div></div>'; | ||
19 | + | ||
18 | hasInit = true; | 20 | hasInit = true; |
19 | if ($container === undefined) { | 21 | if ($container === undefined) { |
20 | $container = $page; | 22 | $container = $page; |
21 | } | 23 | } |
22 | - var html = '<div class="loading-mask hide"><div class="loading"></div></div>'; | ||
23 | 24 | ||
24 | $container.append(html); | 25 | $container.append(html); |
25 | 26 |
-
Please register or login to post a comment