From 05decdadcba70e6304375987315d2f5dd00df98a Mon Sep 17 00:00:00 2001 From: Antoine Beaupré Date: Thu, 9 Aug 2012 01:10:20 -0400 Subject: osm: do not override sorting order of layers (cherry picked from commit 805498bc838218f31d11efac0b02996b11a953d1) --- underlays/osm/ikiwiki/osm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'underlays/osm') diff --git a/underlays/osm/ikiwiki/osm.js b/underlays/osm/ikiwiki/osm.js index 5ba3223ad..37e588f7b 100644 --- a/underlays/osm/ikiwiki/osm.js +++ b/underlays/osm/ikiwiki/osm.js @@ -136,7 +136,7 @@ function mapsetup(divname, options) { if (options.fullscreen) { map.addControl(new OpenLayers.Control.PanZoomBar()); - map.addControl(new OpenLayers.Control.LayerSwitcher({'ascending':false})); + map.addControl(new OpenLayers.Control.LayerSwitcher()); map.addControl(new OpenLayers.Control.MousePosition()); map.addControl(new OpenLayers.Control.KeyboardDefaults()); } else { -- cgit v1.2.3