aboutsummaryrefslogtreecommitdiffstats
path: root/src/js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js')
-rw-r--r--src/js/views/around.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/js/views/around.js b/src/js/views/around.js
index 501c371..5a5e590 100644
--- a/src/js/views/around.js
+++ b/src/js/views/around.js
@@ -346,8 +346,10 @@
clearSearchErrors: function() {
$('#pc').attr('placeholder', this.origPcPlaceholder).removeClass('error');;
- $('#front-howto').hide();
- $('#relocate').show();
+ if ( fixmystreet.map ) {
+ $('#front-howto').hide();
+ $('#relocate').show();
+ }
},
searchFail: function( details ) {