diff options
author | Struan Donald <struan@exo.org.uk> | 2012-03-19 11:20:11 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-03-19 11:20:11 +0000 |
commit | 00179723bbf1987406cc9996eba48a85c7d8f492 (patch) | |
tree | f05c37aecb958f7628b28b299d60cdc12f8bfb2d /www/js/map-OpenLayers.js | |
parent | e4c2deb80901d5382c26788ee8153afed1cc77d6 (diff) |
put back in commented out code
Diffstat (limited to 'www/js/map-OpenLayers.js')
-rw-r--r-- | www/js/map-OpenLayers.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/www/js/map-OpenLayers.js b/www/js/map-OpenLayers.js index 7eb92c3..5b4450e 100644 --- a/www/js/map-OpenLayers.js +++ b/www/js/map-OpenLayers.js @@ -441,7 +441,7 @@ OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, { document.getElementById('side-form').style.display = 'block'; } $('#side').hide(); - // heightFix('#report-a-problem-sidebar', '.content', 26); + heightFix('#report-a-problem-sidebar', '.content', 26); // If we clicked the map somewhere inconvenient var sidebar = $('#report-a-problem-sidebar'); @@ -462,7 +462,7 @@ OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, { } $('#sub_map_links').hide(); - //if ($('html').hasClass('mobile')) { + if ($('html').hasClass('mobile')) { var $map_box = $('#map_box'), width = $map_box.width(), height = $map_box.height(); @@ -491,7 +491,7 @@ OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, { $('#mob_ok').text('OK'); }); }); - //} + } fixmystreet.page = 'new'; location.hash = 'report'; |