diff --git a/src/ol/pointer/pointereventhandler.js b/src/ol/pointer/pointereventhandler.js index 4311e90074..95ab79561a 100644 --- a/src/ol/pointer/pointereventhandler.js +++ b/src/ol/pointer/pointereventhandler.js @@ -373,11 +373,6 @@ ol.pointer.PointerEventHandler.prototype.contains_ = */ ol.pointer.PointerEventHandler.prototype.makeEvent = function(inType, pointerEventData, browserEvent) { - // relatedTarget must be null if pointer is captured - if (this.captureInfo) { - pointerEventData.relatedTarget = null; - } - var e = new ol.pointer.PointerEvent(inType, browserEvent, pointerEventData); // keep the semantics of preventDefault