|
12 | 12 | <script src="../../_assets/js/"></script> |
13 | 13 | <script src="../../../js/"></script> |
14 | 14 | <script> |
15 | | - $(document).on("click", ".show-page-loading-msg", function() { |
| 15 | + $( document ).on( "click", ".show-page-loading-msg", function() { |
16 | 16 | var $this = $( this ), |
17 | | - theme = $this.jqmData("theme") || $.mobile.loader.prototype.options.theme, |
18 | | - msgText = $this.jqmData("msgtext") || $.mobile.loader.prototype.options.text, |
19 | | - textVisible = $this.jqmData("textvisible") || $.mobile.loader.prototype.options.textVisible, |
20 | | - textonly = !!$this.jqmData("textonly"); |
21 | | - html = $this.jqmData("html") || ""; |
22 | | - $.mobile.loading( 'show', { |
| 17 | + theme = $this.jqmData( "theme" ) || $.mobile.loader.prototype.options.theme, |
| 18 | + msgText = $this.jqmData( "msgtext" ) || $.mobile.loader.prototype.options.text, |
| 19 | + textVisible = $this.jqmData( "textvisible" ) || $.mobile.loader.prototype.options.textVisible, |
| 20 | + textonly = !!$this.jqmData( "textonly" ); |
| 21 | + html = $this.jqmData( "html" ) || ""; |
| 22 | + $.mobile.loading( "show", { |
23 | 23 | text: msgText, |
24 | 24 | textVisible: textVisible, |
25 | 25 | theme: theme, |
26 | 26 | textonly: textonly, |
27 | 27 | html: html |
28 | 28 | }); |
29 | 29 | }) |
30 | | - .on("click", ".hide-page-loading-msg", function() { |
31 | | - $.mobile.loading( 'hide' ); |
| 30 | + .on( "click", ".hide-page-loading-msg", function() { |
| 31 | + $.mobile.loading( "hide" ); |
32 | 32 | }); |
33 | 33 | </script> |
34 | 34 | </head> |
|
0 commit comments