diff options
author | Antoine Beaupré <anarcat@koumbit.org> | 2012-08-09 01:10:20 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-08-25 10:18:19 -0400 |
commit | 05decdadcba70e6304375987315d2f5dd00df98a (patch) | |
tree | 3d97d51e44b56ac8566c4e4bdf5f3979bb2f59fd | |
parent | 93a12752ace90080fc62f4ea030a74f844ad09c8 (diff) | |
download | ikiwiki-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.js | 2 |
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 { |