From a82e5102d63d29b578b2f5eae35b9d7d85cbefc1 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Wed, 10 Oct 2012 16:59:27 +0100 Subject: Stop home button disappearing, fixes #280. --- web/js/map-OpenLayers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/js/map-OpenLayers.js') 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('Home 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('Home Right place?'); // mobile user clicks 'ok' on map $('#mob_ok').toggle(function(){ -- cgit v1.2.3