Permalink
Browse files

Header buttons: Added "button" to the selector. Fixes #4638 - Using b…

…utton tag in header will show title in new line [1.1.2.]
  • Loading branch information...
1 parent cbea74a commit 99d8164a069ec0d1aeb9932c4143ffdfa1430176 @jaspermdegroot jaspermdegroot committed Jul 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/jquery.mobile.page.sections.js
@@ -52,7 +52,7 @@ $( document ).bind( "pagecreate", function( e ) {
if( role === "header") {
// Right,left buttons
- $headeranchors = $this.children( "a" );
+ $headeranchors = $this.children( "a, button" );
leftbtn = $headeranchors.hasClass( "ui-btn-left" );
rightbtn = $headeranchors.hasClass( "ui-btn-right" );

0 comments on commit 99d8164

Please sign in to comment.