diff options
author | Struan Donald <struan@exo.org.uk> | 2013-09-18 17:14:22 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-09-18 17:14:22 +0100 |
commit | c5ba24bc13276061cfdb3abc23ffad6c2eb1b92b (patch) | |
tree | 7befa0bee40e3f41853fb6b033720ea8948945d6 | |
parent | 96b2b7a8dde8c9e1713d741bc24fa8fcc53d94be (diff) |
Do not show relocate if search errors visible
Fixes #136
-rw-r--r-- | src/js/views/around.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/js/views/around.js b/src/js/views/around.js index a3c2d53..0ac3b8b 100644 --- a/src/js/views/around.js +++ b/src/js/views/around.js @@ -119,7 +119,9 @@ }, positionUpdate: function( info ) { - $('#relocate').show(); + if ( $('#front-howto').is(':hidden') ) { + $('#relocate').show(); + } FMS.currentPosition = info.coordinates; var centre = this.projectCoords( info.coordinates ); |