- don't hide layer-chooser in smartphone.css

- it's hidden in boot.js if iitc is booted with the iitcm android app
This commit is contained in:
Philipp Schaefer 2014-07-23 02:35:56 +02:00
parent 5654eae8bd
commit 57e972fe87
2 changed files with 1 additions and 5 deletions

View File

@ -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();
}

View File

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