diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-06-03 21:45:48 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-06-03 21:45:48 +0100 |
commit | a18ac5c65d3ee4fa6220417ab1644bdba938a19d (patch) | |
tree | 0cfebe31168ccf2b6bcbe03f5aabf8d86d7cdceb /web/js/map-google.js | |
parent | 35e58052f4f1250a3c1bb40d126e36fcc735d209 (diff) | |
parent | 90d6c6ed2ce1f4535377b14ce6e93e3849a2f1a7 (diff) |
Merge branch '1350-stop-map-hiding-behind-header'
Diffstat (limited to 'web/js/map-google.js')
-rw-r--r-- | web/js/map-google.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/web/js/map-google.js b/web/js/map-google.js index 0e7cd824e..5009bebac 100644 --- a/web/js/map-google.js +++ b/web/js/map-google.js @@ -119,9 +119,6 @@ function fms_map_clicked(e) { } $('#side').hide(); - if (typeof heightFix !== 'undefined') { - heightFix('#report-a-problem-sidebar', '.content', 26); - } // If we clicked the map somewhere inconvenient // TODO @@ -190,13 +187,6 @@ function fms_map_initialize() { paddingDiv.index = 0; fixmystreet.map.controls[google.maps.ControlPosition.RIGHT_TOP].push(paddingDiv); - if (fixmystreet.state_map && fixmystreet.state_map == 'full') { - // TODO Work better with window resizing, this is pretty 'set up' only at present - var q = fixmystreet_midpoint(); - // Need to try and fake the 'centre' being 75% from the edge - fixmystreet.map.panBy(-q, -25); - } - if (document.getElementById('mapForm')) { var l = google.maps.event.addListener(fixmystreet.map, 'click', fms_map_clicked); } |