real fix for #189 -- event wasnt being triggered, and wihtout the clone(), control was floating down the div

git-svn-id: http://svn.openlayers.org/branches/openlayers/2.0@1305 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-08-19 04:47:12 +00:00
parent 484fc207cf
commit 1459ac5de9
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -189,7 +189,7 @@ OpenLayers.Control.LayerSwitcher.prototype =
for(var i=0; i < this.baseLayerInputs.length; i++) {
var input = this.baseLayerInputs[i];
if (input.checked) {
this.map.setBaseLayer(input.layer, true);
this.map.setBaseLayer(input.layer, false);
}
}