Permalink
Browse files

fixedToolbar: changed to reset padding Vs. setting to 0 to maintain u…

…ser set page padding.
  • Loading branch information...
1 parent 43eddf2 commit f90f7e705904ce22479423e15f1ac56c0796cfe9 @arschmitz arschmitz committed Nov 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/widgets/fixedToolbar.js
@@ -263,7 +263,7 @@ define( [ "jquery", "../jquery.mobile.widget", "../jquery.mobile.core", "../jque
var $el = this.element,
header = $el.is( ".ui-header" );
- $el.closest( '.ui-page' ).css( "padding-" + ( header ? "top" : "bottom" ), 0 );
+ $el.closest( '.ui-page' ).css( "padding-" + ( header ? "top" : "bottom" ), "" );
$el.removeClass( "ui-header-fixed ui-footer-fixed ui-header-fullscreen ui-footer-fullscreen in out fade slidedown slideup ui-fixed-hidden" );
$el.closest( ".ui-page" ).removeClass( "ui-page-header-fixed ui-page-footer-fixed ui-page-header-fullscreen ui-page-footer-fullscreen" );
}

0 comments on commit f90f7e7

Please sign in to comment.