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

Commit

Permalink
Adding a condition for the given page at updatePagePadding() as sugge…
Browse files Browse the repository at this point in the history
…sted.
  • Loading branch information
MauriceG committed May 3, 2012
1 parent 71833fd commit 2dad4d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/jquery.mobile.fixedToolbar.js
Expand Up @@ -182,6 +182,7 @@ define( [ "jquery", "./jquery.mobile.widget", "./jquery.mobile.core", "./jquery.
// This behavior only applies to "fixed", not "fullscreen"
if( this.options.fullscreen ){ return; }

tbPage = tbPage || $el.closest( ".ui-page" );
$(tbPage).css( "padding-" + ( header ? "top" : "bottom" ), $el.outerHeight() );
},

Expand Down

0 comments on commit 2dad4d6

Please sign in to comment.