Make layers control expanded on mobile by default (temp workaround).

This commit is contained in:
mourner 2011-10-28 12:19:00 +03:00
parent b1a202064f
commit 98be07c86b

View File

@ -1,7 +1,7 @@
L.Control.Layers = L.Class.extend({
options: {
collapsed: true
collapsed: !L.Browser.touch
},
initialize: function(baseLayers, overlays, options) {