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

Closed
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
@@ -135,8 +135,8 @@ define( [ "jquery", "./jquery.mobile.widget", "./jquery.mobile.core", "./jquery.
}
})
.bind( "pageshow", function(){
- self.updatePagePadding();
if( o.updatePagePadding ){
+ self.updatePagePadding();
$( window ).bind( "throttledresize." + self.widgetName, function(){
self.updatePagePadding();
});