|
5 | 5 | //>>css.structure: ../css/structure/jquery.mobile.fixedToolbar.css |
6 | 6 | //>>css.theme: ../css/themes/default/jquery.mobile.theme.css |
7 | 7 |
|
8 | | -define( [ "jquery", "../jquery.mobile.widget", "../jquery.mobile.core", "../jquery.mobile.navigation", "./page", "./page.sections", "../jquery.mobile.zoom", "../jquery.mobile.registry" ], function( jQuery ) { |
| 8 | +define( [ "jquery", "../jquery.mobile.widget", "../jquery.mobile.core", "../jquery.mobile.navigation", "./page","../jquery.mobile.zoom", "../jquery.mobile.registry" ], function( jQuery ) { |
9 | 9 | //>>excludeEnd("jqmBuildExclude"); |
10 | 10 | (function( $, undefined ) { |
11 | 11 |
|
@@ -37,7 +37,6 @@ define( [ "jquery", "../jquery.mobile.widget", "../jquery.mobile.core", "../jque |
37 | 37 | _create: function() { |
38 | 38 | this._super(); |
39 | 39 | if( this.options.position === "fixed" && !this.options.supportBlacklist() ){ |
40 | | - |
41 | 40 | this.element.addClass( "ui-"+ this.role +"-fixed" ); |
42 | 41 | this.updatePagePadding(); |
43 | 42 | this._addTransitionClass(); |
@@ -90,7 +89,7 @@ define( [ "jquery", "../jquery.mobile.widget", "../jquery.mobile.core", "../jque |
90 | 89 | }); |
91 | 90 | }, |
92 | 91 |
|
93 | | - _handlePageBeforeShow: function( e ) { |
| 92 | + _handlePageBeforeShow: function( ) { |
94 | 93 | var o = this.options; |
95 | 94 | if ( o.disablePageZoom ) { |
96 | 95 | $.mobile.zoom.disable( true ); |
@@ -153,12 +152,10 @@ define( [ "jquery", "../jquery.mobile.widget", "../jquery.mobile.core", "../jque |
153 | 152 |
|
154 | 153 | // This behavior only applies to "fixed", not "fullscreen" |
155 | 154 | if ( this.options.fullscreen ) { return; } |
156 | | - console.log(header); |
157 | 155 | // tbPage argument can be a Page object or an event, if coming from throttled resize. |
158 | 156 | tbPage = ( tbPage && tbPage.type === undefined && tbPage ) || this.page || $el.closest( ".ui-page" ); |
159 | | - tbPage = ( !!this.page )? this.page: ".ui-page-active" |
| 157 | + tbPage = ( !!this.page )? this.page: ".ui-page-active"; |
160 | 158 | $( tbPage ).css( "padding-" + ( header ? "top" : "bottom" ), $el.outerHeight() + pos ); |
161 | | - console.log( $el.outerHeight() ); |
162 | 159 | }, |
163 | 160 |
|
164 | 161 | _useTransition: function( notransition ) { |
@@ -223,7 +220,6 @@ define( [ "jquery", "../jquery.mobile.widget", "../jquery.mobile.core", "../jque |
223 | 220 | _bindToggleHandlers: function() { |
224 | 221 | var self = this, |
225 | 222 | o = self.options, |
226 | | - $el = self.element, |
227 | 223 | delayShow, delayHide, |
228 | 224 | isVisible = true, |
229 | 225 | page = ( !!this.page )? this.page: $(".ui-page"); |
|
0 commit comments