Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Wrong check condition for pageshow should not be a part of this.

  • Loading branch information...
commit 71833fd919157918d304b0f7b215d502a40be279 1 parent d754bb6
@MauriceG authored
Showing with 2 additions and 6 deletions.
  1. +2 −6 js/jquery.mobile.fixedToolbar.js
View
8 js/jquery.mobile.fixedToolbar.js
@@ -135,14 +135,10 @@ define( [ "jquery", "./jquery.mobile.widget", "./jquery.mobile.core", "./jquery.
self.updatePagePadding( thisPage );
}
})
- .bind( "pageshow", function(e, ui){
+ .bind( "pageshow", function(){
var thisPage = this;
if( o.updatePagePadding ){
- // padding on pageshow is just needed on first toolbar-page
- if ( !ui.nextPage ) {
- self.updatePagePadding( thisPage );
- }
-
+ self.updatePagePadding( thisPage );
$( window ).bind( "throttledresize." + self.widgetName, function(){
self.updatePagePadding( thisPage );
});
Please sign in to comment.
Something went wrong with that request. Please try again.