this is a suggested fix to #57, but it doesnt seem to work.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@498 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -143,10 +143,9 @@ OpenLayers.Control.LayerSwitcher.prototype =
|
||||
backdropLabel.layer = layer;
|
||||
|
||||
// set event handlers
|
||||
backdropLabel.ondblclick = this.doubleClick.bindAsEventListener(this);
|
||||
backdropLabel.onmousedown = this.singleClick.bindAsEventListener(this);
|
||||
backdropLabelOuter.ondblclick = this.doubleClick.bindAsEventListener(this);
|
||||
backdropLabelOuter.onmousedown = this.singleClick.bindAsEventListener(this);
|
||||
|
||||
|
||||
// add label to div
|
||||
backdropLabelOuter.appendChild(backdropLabel);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user