diff options
-rw-r--r-- | src/js/views/around.js | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/src/js/views/around.js b/src/js/views/around.js index 3bda9ca..2da7fa6 100644 --- a/src/js/views/around.js +++ b/src/js/views/around.js @@ -108,10 +108,7 @@ fixmystreet.select_feature.deactivate(); fixmystreet.select_feature.activate(); fixmystreet.nav.activate(); - - if ( !FMS.usedBefore ) { - this.displayFirstTimeHelp(); - } + this.displayHelpIfFirstTime(); }, positionUpdate: function( info ) { @@ -182,14 +179,14 @@ $('#front-howto').html('<p>' + msg + '</msg>'); $('#front-howto').show(); - if ( !FMS.usedBefore ) { - this.displayFirstTimeHelp(); - } + this.displayHelpIfFirstTime(); }, - displayFirstTimeHelp: function() { - FMS.helpShow(); - FMS.helpViewed(); + displayHelpIfFirstTime: function() { + if ( !FMS.usedBefore ) { + FMS.helpShow(); + FMS.helpViewed(); + } }, displayButtons: function(isLocationSet) { |