Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #2120 from jgable/fix_2119

Fixes #2119. updated $elem to $this
  • Loading branch information...
commit 0cbea0bb9076cc0146f46d2d5bbb5635bddd3cb0 2 parents 3afef99 + 9ff4d4c
Scott Jehl authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/jquery.mobile.page.sections.js
View
2  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 );
Please sign in to comment.
Something went wrong with that request. Please try again.