From b0cab8cf018c6119a47f81ea2a3cf5672d05c8a0 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Thu, 15 Mar 2012 09:40:43 +0000 Subject: Only move pan zoom on around page on mobile. --- web/js/map-OpenLayers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/js/map-OpenLayers.js') 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' }); } -- cgit v1.2.3