aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-OpenLayers.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-10-10 16:59:27 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-10-10 16:59:27 +0100
commita82e5102d63d29b578b2f5eae35b9d7d85cbefc1 (patch)
tree4b745903739dc5bca4ff03107fcdaf2dfe467177 /web/js/map-OpenLayers.js
parent9cdcdb6776d6576e36155bb527d78be5bfdce6ea (diff)
Stop home button disappearing, fixes #280.
Diffstat (limited to 'web/js/map-OpenLayers.js')
-rw-r--r--web/js/map-OpenLayers.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js
index 4c96e771c..0a5f339f5 100644
--- a/web/js/map-OpenLayers.js
+++ b/web/js/map-OpenLayers.js
@@ -337,7 +337,7 @@ $(function(){
$('#sub_map_links').show();
//only on mobile
$('#mob_sub_map_links').remove();
- $('.mobile-map-banner').text('Place pin on map');
+ $('.mobile-map-banner').html('<a href="/">Home</a> Place pin on map');
fixmystreet.page = 'around';
});
@@ -532,7 +532,7 @@ OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, {
).css({ position: 'relative', width: width, height: height, marginBottom: '1em' });
// Making it relative here makes it much easier to do the scrolling later
- $('.mobile-map-banner').text('Right place?');
+ $('.mobile-map-banner').html('<a href="/">Home</a> Right place?');
// mobile user clicks 'ok' on map
$('#mob_ok').toggle(function(){