From 57e972fe8788168b727d22ba938dfbbf30b5d27c Mon Sep 17 00:00:00 2001 From: Philipp Schaefer Date: Wed, 23 Jul 2014 02:35:56 +0200 Subject: [PATCH] - don't hide layer-chooser in smartphone.css - it's hidden in boot.js if iitc is booted with the iitcm android app --- code/boot.js | 2 +- mobile/smartphone.css | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/code/boot.js b/code/boot.js index 5a6103d1..9e97ca62 100644 --- a/code/boot.js +++ b/code/boot.js @@ -474,7 +474,7 @@ window.setupQRLoadLib = function() { } window.setupLayerChooserApi = function() { - // hide layer chooser on mobile devices running desktop mode + // hide layer chooser if booted with the iitcm android app if (typeof android !== 'undefined' && android && android.setLayers) { $('.leaflet-control-layers').hide(); } diff --git a/mobile/smartphone.css b/mobile/smartphone.css index 27d34ad7..e62028b7 100644 --- a/mobile/smartphone.css +++ b/mobile/smartphone.css @@ -102,10 +102,6 @@ body { margin-left: 5px !important; } -.leaflet-control-layers { - display: none; /* hide layer control - it's now handled by an in-app option */ -} - #geosearch { width: 100%; }