aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Beaupré <anarcat@koumbit.org>2012-08-09 01:10:20 -0400
committerJoey Hess <joey@kitenet.net>2012-08-25 10:18:19 -0400
commit05decdadcba70e6304375987315d2f5dd00df98a (patch)
tree3d97d51e44b56ac8566c4e4bdf5f3979bb2f59fd
parent93a12752ace90080fc62f4ea030a74f844ad09c8 (diff)
downloadikiwiki-05decdadcba70e6304375987315d2f5dd00df98a.tar
ikiwiki-05decdadcba70e6304375987315d2f5dd00df98a.tar.gz
osm: do not override sorting order of layers
(cherry picked from commit 805498bc838218f31d11efac0b02996b11a953d1)
-rw-r--r--underlays/osm/ikiwiki/osm.js2
1 files changed, 1 insertions, 1 deletions
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 {