Skip to content

Commit 44d0041

Browse files
author
scottjehl
committed
toolbar height calculation needed to use outerHeight
1 parent ba7a110 commit 44d0041

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/jquery.mobile.fixedToolbar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ define( [ "jquery", "./jquery.mobile.widget", "./jquery.mobile.core", "./jquery.
177177
// This behavior only applies to "fixed", not "fullscreen"
178178
if( this.options.fullscreen ){ return; }
179179

180-
$el.closest( ".ui-page" ).css( "padding-" + ( header ? "top" : "bottom" ), $el.height() );
180+
$el.closest( ".ui-page" ).css( "padding-" + ( header ? "top" : "bottom" ), $el.outerHeight() );
181181
},
182182

183183
show: function( notransition ){

0 commit comments

Comments
 (0)