Permalink
Browse files

Adding a condition for the given page at updatePagePadding() as sugge…

…sted.
  • Loading branch information...
1 parent 71833fd commit 2dad4d603ac99595f5947f81ecacaa2a8ed5fa53 @MauriceG MauriceG committed May 3, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 js/jquery.mobile.fixedToolbar.js
@@ -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() );
},

0 comments on commit 2dad4d6

Please sign in to comment.