diff options
author | Josh Angell <josh@supercooldesign.co.uk> | 2012-03-01 16:11:01 +0000 |
---|---|---|
committer | Josh Angell <josh@supercooldesign.co.uk> | 2012-03-01 16:11:01 +0000 |
commit | aed77780b3b363512fa0effd36e0c60d62397fac (patch) | |
tree | 1be86e0882b0f8c1a124939f529bb2987b0b3b1e /web/js/map-OpenLayers.js | |
parent | ba096972c26e00dfa9f888cd6d49cc0255027195 (diff) |
Initial styles for mobile completed map buttons
Signed-off-by: Josh Angell <josh@supercooldesign.co.uk>
Diffstat (limited to 'web/js/map-OpenLayers.js')
-rw-r--r-- | web/js/map-OpenLayers.js | 3 |
1 files changed, 2 insertions, 1 deletions
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'); }); } |