aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-OpenLayers.js
diff options
context:
space:
mode:
authorJosh Angell <josh@supercooldesign.co.uk>2012-03-01 12:27:20 +0000
committerJosh Angell <josh@supercooldesign.co.uk>2012-03-01 12:27:20 +0000
commit4b87bd21bd46801807213a4aa54d533b2dbf49ce (patch)
tree1ecfd364478fc3c1e351ff0835f0cd9cf2bba74d /web/js/map-OpenLayers.js
parent5e9d0e7f7ad547d059025e152ca64fe294b67eea (diff)
Try again link for #258
Signed-off-by: Josh Angell <josh@supercooldesign.co.uk>
Diffstat (limited to 'web/js/map-OpenLayers.js')
-rw-r--r--web/js/map-OpenLayers.js5
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?');