aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-OpenLayers.js
diff options
context:
space:
mode:
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 d4aa51a34..4c789cc19 100644
--- a/web/js/map-OpenLayers.js
+++ b/web/js/map-OpenLayers.js
@@ -457,7 +457,7 @@ OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, {
$('#sub_map_links').hide();
$('#map_box').append(
'<p id="mob_sub_map_links">' +
- '<a href="#">Try again</a>' +
+ '<a href="#" id="try_again">Try again</a>' +
'<a href="#ok" id="mob_ok">OK</a>' +
'</p>'
);
@@ -471,6 +471,9 @@ OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, {
//to do this on other pages where #side-form might not be
var height = $('#map_box').height();
$('html, body').animate({scrollTop:height}, 1000);
+
+ //add this class so we can modify the look of the links inside
+ $('#mob_sub_map_links').addClass('map_complete');
});
}