diff options
Diffstat (limited to 'web/js')
-rw-r--r-- | web/js/map-OpenLayers.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js index 22183668d..390384733 100644 --- a/web/js/map-OpenLayers.js +++ b/web/js/map-OpenLayers.js @@ -267,6 +267,9 @@ $(function(){ $('#side').show(); $('#sub_map_links').show(); heightFix('#report-a-problem-sidebar:visible', '.content', 26); + //only on mobile + $('.mobile #mob_sub_map_links').remove(); + $('.mobile-map-banner').text('Place pin on map'); fixmystreet.page = 'around'; }); @@ -434,7 +437,7 @@ OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, { $('#map_box').append( '<p id="mob_sub_map_links">'+ '<a href="#">Try again</a>'+ - '<a href="#">OK</a>'+ + '<a href="#ok" id="mob_ok">OK</a>'+ '</p>' ); $('.mobile-map-banner').text('Right place?'); |