Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Propose fix for #4223 - call updatePagePadding() just if updatePagePaddiing is true #4228

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion js/jquery.mobile.fixedToolbar.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ define( [ "jquery", "./jquery.mobile.widget", "./jquery.mobile.core", "./jquery.
} }
}) })
.bind( "pageshow", function(){ .bind( "pageshow", function(){
self.updatePagePadding();
if( o.updatePagePadding ){ if( o.updatePagePadding ){
self.updatePagePadding();
$( window ).bind( "throttledresize." + self.widgetName, function(){ $( window ).bind( "throttledresize." + self.widgetName, function(){
self.updatePagePadding(); self.updatePagePadding();
}); });
Expand Down