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%; }