Skip to content

Commit ad75771

Browse files
actually reversing backbtn logic this time.
1 parent df3bc91 commit ad75771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/jquery.mobile.page.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ $.widget( "mobile.page", $.mobile.widget, {
7878
// auto-add back btn on pages beyond first view
7979
if ( o.addBackBtn && role === "header" &&
8080
($.mobile.urlStack.length > 1 || $(".ui-page").length > 1) &&
81-
!leftbtn && !$this.data( "backBtn" ) ) {
81+
!leftbtn && $this.data( "backBtn" ) === false ) {
8282

8383
$( "<a href='#' class='ui-btn-left' data-icon='arrow-l'>"+ o.backBtnText +"</a>" )
8484
.click(function() {

0 commit comments

Comments
 (0)