Skip to content
This repository was archived by the owner on Apr 16, 2019. It is now read-only.

Commit 120f5dc

Browse files
author
Ian Maffett
committed
Merge pull request #898 from marciosouzajunior/patch-1
Back button text
2 parents 2dc2a11 + cf1b246 commit 120f5dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/af.ui.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@
135135
overlayStatusbar: false,
136136
useAutoPressed: true,
137137
useInternalRouting:true,
138+
backButtonText: "Back",
138139
autoBoot: function() {
139140
this.hasLaunched = true;
140141
if (this.autoLaunch) {
@@ -841,7 +842,7 @@
841842
if(items>=2&&isNewView!==true){
842843
//Add the back button if it's not there
843844
if(hdr.find(".backButton").length===1) return;
844-
hdr.prepend("<a class='backButton back'>Back</a>");
845+
hdr.prepend("<a class='backButton back'>" + this.backButtonText + "</a>");
845846
}
846847
else {
847848
hdr.find(".backButton").remove();

0 commit comments

Comments
 (0)