aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/js/views/around.js11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/js/views/around.js b/src/js/views/around.js
index 38e235a..3bda9ca 100644
--- a/src/js/views/around.js
+++ b/src/js/views/around.js
@@ -110,8 +110,7 @@
fixmystreet.nav.activate();
if ( !FMS.usedBefore ) {
- FMS.helpShow();
- FMS.helpViewed();
+ this.displayFirstTimeHelp();
}
},
@@ -184,11 +183,15 @@
$('#front-howto').show();
if ( !FMS.usedBefore ) {
- FMS.helpShow();
- FMS.helpViewed();
+ this.displayFirstTimeHelp();
}
},
+ displayFirstTimeHelp: function() {
+ FMS.helpShow();
+ FMS.helpViewed();
+ },
+
displayButtons: function(isLocationSet) {
if ( fixmystreet.map ) {
fixmystreet.nav.activate();