Permalink
Browse files

Merge pull request #2120 from jgable/fix_2119

Fixes #2119. updated $elem to $this
  • Loading branch information...
2 parents 5e112df + a8c9446 commit 434031c65f836bf1143e8be7218a8101db73f3a2 Scott Jehl committed Jul 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/jquery.mobile.page.sections.js
@@ -58,7 +58,7 @@ $( ":jqmData(role='page'), :jqmData(role='dialog')" ).live( "pagecreate", functi
// Auto-add back btn on pages beyond first view
if ( o.addBackBtn && role === "header" &&
$( ".ui-page" ).length > 1 &&
- $elem.jqmData( "url" ) !== $.mobile.path.stripHash( location.hash ) &&
+ $this.jqmData( "url" ) !== $.mobile.path.stripHash( location.hash ) &&
!leftbtn ) {
backBtn = $( "<a href='#' class='ui-btn-left' data-"+ $.mobile.ns +"rel='back' data-"+ $.mobile.ns +"icon='arrow-l'>"+ o.backBtnText +"</a>" ).prependTo( $this );

0 comments on commit 434031c

Please sign in to comment.