aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-OpenLayers.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-03-15 09:40:43 +0000
committerMatthew Somerville <matthew@mysociety.org>2012-03-15 09:40:43 +0000
commitb0cab8cf018c6119a47f81ea2a3cf5672d05c8a0 (patch)
treeaf44b7297c5f2fc29b4c990094e3c102f65f87eb /web/js/map-OpenLayers.js
parent5f0c5cffbef37288ba8af27bab2de7d72960db0f (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.js2
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' });
}