Skip to content
This repository
Browse code

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...
commit 7cf44d443cb9b11e321b644b6715cce5ad0157d9 1 parent 0c2a70f
Jasper de Groot authored July 03, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  js/widgets/page.sections.js
2  js/widgets/page.sections.js
@@ -52,7 +52,7 @@ $( document ).bind( "pagecreate", function( e ) {
52 52
 
53 53
 			if( role === "header") {
54 54
 				// Right,left buttons
55  
-				$headeranchors	= $this.children( "a" );
  55
+				$headeranchors	= $this.children( "a, button" );
56 56
 				leftbtn	= $headeranchors.hasClass( "ui-btn-left" );
57 57
 				rightbtn = $headeranchors.hasClass( "ui-btn-right" );
58 58
 

0 notes on commit 7cf44d4

Please sign in to comment.
Something went wrong with that request. Please try again.