diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-03-15 09:40:43 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-03-15 09:40:43 +0000 |
commit | b0cab8cf018c6119a47f81ea2a3cf5672d05c8a0 (patch) | |
tree | af44b7297c5f2fc29b4c990094e3c102f65f87eb /web/js/map-OpenLayers.js | |
parent | 5f0c5cffbef37288ba8af27bab2de7d72960db0f (diff) |
Only move pan zoom on around page on mobile.
Diffstat (limited to 'web/js/map-OpenLayers.js')
-rw-r--r-- | web/js/map-OpenLayers.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js index 3d2d3259a..7522ae7d6 100644 --- a/web/js/map-OpenLayers.js +++ b/web/js/map-OpenLayers.js @@ -213,7 +213,7 @@ $(function(){ displayProjection: new OpenLayers.Projection("EPSG:4326") }); - if ($('html').hasClass('mobile')) { + if ($('html').hasClass('mobile') && fixmystreet.page == 'around') { $('#fms_pan_zoom').css({ top: '2.75em !important' }); } |