removes dead code

This commit is contained in:
tsauerwein
2014-02-26 16:25:35 +01:00
parent 43aac5480c
commit bc31d42964

View File

@@ -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