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...
jaspermdegroot committed Jul 3, 2012
1 parent 0c2a70f commit 7cf44d443cb9b11e321b644b6715cce5ad0157d9
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/widgets/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 7cf44d4

Please sign in to comment.