diff options
author | Dave Arter <davea@mysociety.org> | 2017-06-16 15:12:42 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2018-04-30 13:13:02 +0100 |
commit | c4dcd37dede1a1736aa391a05c2020815390a79f (patch) | |
tree | 3a573a84f954e8ca508fcf4eb6017e362a586310 /www/js/map-OpenLayers.js | |
parent | 65cda4b5d7c4dce1e89a2118f2ab8fdb9be2867e (diff) |
Remove iOS status bar height overrides
No need to have rules to avoid overlapping the <iOS 7 status bar any more.
Diffstat (limited to 'www/js/map-OpenLayers.js')
-rw-r--r-- | www/js/map-OpenLayers.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/www/js/map-OpenLayers.js b/www/js/map-OpenLayers.js index a3fdc9d..f94f3ce 100644 --- a/www/js/map-OpenLayers.js +++ b/www/js/map-OpenLayers.js @@ -202,13 +202,9 @@ OpenLayers.Map.prototype.getCurrentSize = function() { function show_map(event) { if (typeof fixmystreet !== 'undefined' && fixmystreet.page == 'around') { // Immediately go full screen map if on around page - var mapTop = 0; - if ( $('body').hasClass('ios7') ) { - mapTop = 20; - } $('#map_box').css({ position: 'fixed', - top: mapTop, left: 0, right: 0, bottom: 0, + top: 0, left: 0, right: 0, bottom: 0, height: FMS.windowHeight, margin: 0 }); |