aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-OpenLayers.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-03-07 14:27:49 +0000
committerMatthew Somerville <matthew@mysociety.org>2012-03-07 14:27:49 +0000
commit84f1d553ae8e5fb0821d2e416538fa935bf2feaf (patch)
tree03273cba1ea40838c1233719fab3e4c73f9dc1ac /web/js/map-OpenLayers.js
parent920691b99f8a8cb194a0bb19a2c10ce7aafc2fff (diff)
Hide sub map links when report process started (fixes #265); bit of space under key tools in mobile environment, and fix typo.
Diffstat (limited to 'web/js/map-OpenLayers.js')
-rw-r--r--web/js/map-OpenLayers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js
index 8ee217dff..101585c07 100644
--- a/web/js/map-OpenLayers.js
+++ b/web/js/map-OpenLayers.js
@@ -461,11 +461,11 @@ OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, {
}
}
+ $('#sub_map_links').hide();
if ($('html').hasClass('mobile')) {
var $map_box = $('#map_box'),
width = $map_box.width(),
height = $map_box.height();
- $('#sub_map_links').hide();
$map_box.append(
'<p id="mob_sub_map_links">' +
'<a href="#" id="try_again">Try again</a>' +