From 26c2b6651ba0f0685b347ae49a7506fdc35a8133 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Sat, 20 May 2006 01:08:46 +0000 Subject: [PATCH] Remove temporary hacks from Marker.js. git-svn-id: http://svn.openlayers.org/trunk/openlayers@199 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Marker.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/OpenLayers/Marker.js b/lib/OpenLayers/Marker.js index 2138b60bd0..ec40b12ccd 100644 --- a/lib/OpenLayers/Marker.js +++ b/lib/OpenLayers/Marker.js @@ -34,7 +34,6 @@ OpenLayers.Marker.prototype = { this.icon.size ); this.events = new OpenLayers.Events(this, this.object, null); - this.events.register("click", this, this.onclick ); }, /** @@ -50,14 +49,9 @@ OpenLayers.Marker.prototype = { this.object.style.top = (pixel.y+this.icon.offset.y) + "px" this.object.style.left = (pixel.x+this.icon.offset.x) + "px"; this.object.style.position = "absolute"; - this.object.onclick = this.onclick; return this.object; }, - onclick: function(evt) { - alert('onclick'); - }, - /** @final @type String */ CLASS_NAME: "OpenLayers.Marker" }