[OpenLayers-Commits] r12190 - trunk/openlayers/lib/OpenLayers
commits-20090109 at openlayers.org
commits-20090109 at openlayers.org
Tue Jul 26 03:49:01 EDT 2011
Author: ahocevar
Date: 2011-07-26 00:49:00 -0700 (Tue, 26 Jul 2011)
New Revision: 12190
Modified:
trunk/openlayers/lib/OpenLayers/Popup.js
Log:
Removing unnecessary handlers introduced in r12183 (closes #3403)
Modified: trunk/openlayers/lib/OpenLayers/Popup.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Popup.js 2011-07-25 15:05:50 UTC (rev 12189)
+++ trunk/openlayers/lib/OpenLayers/Popup.js 2011-07-26 07:49:00 UTC (rev 12190)
@@ -957,22 +957,9 @@
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 @@
"mouseout": this.onmouseout,
"dblclick": this.ondblclick,
"touchstart": onTouchstart,
- "touchmove": onTouchmove,
- "touchsend": onTouchend,
scope: this
});
More information about the Commits
mailing list