From 98be07c86b680b085a56693830953587efb709b5 Mon Sep 17 00:00:00 2001 From: mourner Date: Fri, 28 Oct 2011 12:19:00 +0300 Subject: [PATCH] Make layers control expanded on mobile by default (temp workaround). --- src/control/Control.Layers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/control/Control.Layers.js b/src/control/Control.Layers.js index 09bd377f..65a61236 100644 --- a/src/control/Control.Layers.js +++ b/src/control/Control.Layers.js @@ -1,7 +1,7 @@ L.Control.Layers = L.Class.extend({ options: { - collapsed: true + collapsed: !L.Browser.touch }, initialize: function(baseLayers, overlays, options) {