From aed77780b3b363512fa0effd36e0c60d62397fac Mon Sep 17 00:00:00 2001 From: Josh Angell Date: Thu, 1 Mar 2012 16:11:01 +0000 Subject: Initial styles for mobile completed map buttons Signed-off-by: Josh Angell --- web/js/map-OpenLayers.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'web/js/map-OpenLayers.js') diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js index 4c789cc19..3a6cec3e5 100644 --- a/web/js/map-OpenLayers.js +++ b/web/js/map-OpenLayers.js @@ -470,10 +470,11 @@ OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, { //of the #side-form or whatever as we will probably want //to do this on other pages where #side-form might not be var height = $('#map_box').height(); - $('html, body').animate({scrollTop:height}, 1000); + $('html, body').animate({scrollTop:height-60}, 1000); //add this class so we can modify the look of the links inside $('#mob_sub_map_links').addClass('map_complete'); + $('#mob_ok').text('MAP'); }); } -- cgit v1.2.3