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...
jaspermdegroot committed Jun 16, 2012
1 parent f0454ea commit 03613ea1bb740f579a9abc761841abb01a5f896d
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/widgets/fixedToolbar.js
@@ -131,8 +131,8 @@ define( [ "../jquery", "../jquery.mobile.widget", "../jquery.mobile.core", "../j
})
.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 03613ea

Please sign in to comment.