Skip to content
This repository
Browse code

Merge pull request #2120 from jgable/fix_2119

Fixes #2119. updated $elem to $this
  • Loading branch information...
commit 0cbea0bb9076cc0146f46d2d5bbb5635bddd3cb0 2 parents 3afef99 + 9ff4d4c
authored July 20, 2011

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

  1. 2  js/jquery.mobile.page.sections.js
2  js/jquery.mobile.page.sections.js
@@ -58,7 +58,7 @@ $( ":jqmData(role='page'), :jqmData(role='dialog')" ).live( "pagecreate", functi
58 58
 			// Auto-add back btn on pages beyond first view
59 59
 			if ( o.addBackBtn && role === "header" &&
60 60
 					$( ".ui-page" ).length > 1 &&
61  
-					$elem.jqmData( "url" ) !== $.mobile.path.stripHash( location.hash ) &&
  61
+					$this.jqmData( "url" ) !== $.mobile.path.stripHash( location.hash ) &&
62 62
 					!leftbtn ) {
63 63
 
64 64
 				backBtn = $( "<a href='#' class='ui-btn-left' data-"+ $.mobile.ns +"rel='back' data-"+ $.mobile.ns +"icon='arrow-l'>"+ o.backBtnText +"</a>" ).prependTo( $this );

0 notes on commit 0cbea0b

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