From 66d7e36f47e21aa11c1d9e145cc8e216fb5b6305 Mon Sep 17 00:00:00 2001 From: ahocevar Date: Tue, 26 Jul 2011 07:49:00 +0000 Subject: [PATCH] Removing unnecessary handlers introduced in r12183 (closes #3403) git-svn-id: http://svn.openlayers.org/trunk/openlayers@12190 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Popup.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/lib/OpenLayers/Popup.js b/lib/OpenLayers/Popup.js index 5ba9c9b10f..0a4d99f379 100644 --- a/lib/OpenLayers/Popup.js +++ b/lib/OpenLayers/Popup.js @@ -957,22 +957,9 @@ OpenLayers.Popup = OpenLayers.Class({ registerEvents:function() { this.events = new OpenLayers.Events(this, this.div, null, true); - var touchStarted = false; function onTouchstart(evt) { - touchStarted = true; OpenLayers.Event.stop(evt, true); } - function onTouchmove(evt) { - if (touchStarted === true) { - OpenLayers.Event.stop(evt, true); - } - } - function onTouchend(evt) { - if (touchStarted === true) { - touchStarted = false; - OpenLayers.Event.stop(evt, true); - } - } this.events.on({ "mousedown": this.onmousedown, "mousemove": this.onmousemove, @@ -981,8 +968,6 @@ OpenLayers.Popup = OpenLayers.Class({ "mouseout": this.onmouseout, "dblclick": this.ondblclick, "touchstart": onTouchstart, - "touchmove": onTouchmove, - "touchsend": onTouchend, scope: this });