aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/views/around.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/views/around.js')
-rw-r--r--www/js/views/around.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/www/js/views/around.js b/www/js/views/around.js
index 34f93db..fc9a7e6 100644
--- a/www/js/views/around.js
+++ b/www/js/views/around.js
@@ -257,6 +257,7 @@
fixmystreet.map.panTo(this.projectCoords( coords ));
} else {
this.setMapPosition(info);
+ this.displayButtons(false);
}
},
@@ -314,6 +315,12 @@
goSearch: function(e) {
e.preventDefault();
+ if ( !fixmystreet.map ) {
+ this.$('#mark-here').hide();
+ this.$('#relocate').hide();
+ $('#front-howto').html('<p>' + FMS.strings.locate_dismissed + '</msg>');
+ $('#front-howto').show();
+ }
this.finishedLocating();
},