Permalink
Browse files

fix for #2119; updated to

  • Loading branch information...
1 parent 5e112df commit a8c94460428435552f06cc918a6d81baa0e00f7a @jgable jgable 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 a8c9446

Please sign in to comment.