followup tp 0a9c30d - .addEventListener does not have originalEvent

This commit is contained in:
j 2017-11-13 15:16:25 +01:00
parent 6cf7083665
commit afea7ed9a9

View file

@ -364,17 +364,20 @@
}
function onTouchend(e) {
var data = getTouchData(e.originalEvent);
//var data = getTouchData(e.originalEvent);
var data = getTouchData(e;
that.triggerEvent('touchend', Ox.extend(e, data));
}
function onTouchmove(e) {
var data = getTouchData(e.originalEvent);
//var data = getTouchData(e.originalEvent);
var data = getTouchData(e;
that.triggerEvent('touchmove', Ox.extend(e, data));
}
function onTouchstart(e) {
var data = getTouchData(e.originalEvent);
//var data = getTouchData(e.originalEvent);
var data = getTouchData(e;
that.triggerEvent('touchstart', Ox.extend(e, data));
}