Permalink
Browse files

Revert a change that was included in the updatePagePadding fix (PR #4260

) but was not actual part of this fix. The PR #4228 for this change did not land because we decided not to change the fact updatePagePadding is always called on pageshow.
  • Loading branch information...
1 parent f9a1186 commit 24244e152e93f93d3dcbc0c118f7454936d79058 @jaspermdegroot jaspermdegroot committed Jun 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/jquery.mobile.fixedToolbar.js
@@ -138,8 +138,8 @@ define( [ "jquery", "./jquery.mobile.widget", "./jquery.mobile.core", "./jquery.
})
.bind( "pageshow", function(){
var thisPage = this;
+ self.updatePagePadding( thisPage );
if( o.updatePagePadding ){
- self.updatePagePadding( thisPage );
$( window ).bind( "throttledresize." + self.widgetName, function(){
self.updatePagePadding( thisPage );
});

0 comments on commit 24244e1

Please sign in to comment.