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

Commit

Permalink
fixedToolbar: changed to reset padding Vs. setting to 0 to maintain u…
Browse files Browse the repository at this point in the history
…ser set page padding.
  • Loading branch information
arschmitz committed Nov 8, 2012
1 parent 43eddf2 commit f90f7e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/widgets/fixedToolbar.js
Expand Up @@ -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" );
}
Expand Down

0 comments on commit f90f7e7

Please sign in to comment.