rem: element.onclick = this.ignoreEvent.bindAsEventListener(this); element.ondblclick = this.ignoreEvent.bindAsEventListener(this); element.onmousedown = this.singleClick.bindAsEventListener(this); 
add: element.onclick = this.singleClick.bindAsEventListener(this); element.ondblclick = this.singleClick.bindAsEventListener(this); element.onmouseup = this.ignoreEvent.bindAsEventListener(this); element.onmousedown = this.ignoreEvent.bindAsEventListener(this); 
context:     _setEventHandlers : function(element, labelDiv) {        // We only want to respond to a mousedown event.        element.onclick = this.ignoreEvent.bindAsEventListener(this);        element.ondblclick = this.ignoreEvent.bindAsEventListener(this);        element.onmousedown = this.singleClick.bindAsEventListener(this);        // If we are operating on a corner span we need to store a        // reference to the actual tab. (See comment about OL #57 fix above.)        if (labelDiv) {            element.labelElement = labelDiv;        }    },
meta: 4411	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4411/2b5f13ae0eea826ef41a516d5c3941754bc629f9/LayerSwitcher.js/clean/lib/OpenLayers/Control/LayerSwitcher.js