followup tp 0a9c30d
- .addEventListener does not have originalEvent
This commit is contained in:
parent
6cf7083665
commit
afea7ed9a9
1 changed files with 6 additions and 3 deletions
|
@ -364,17 +364,20 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function onTouchend(e) {
|
function onTouchend(e) {
|
||||||
var data = getTouchData(e.originalEvent);
|
//var data = getTouchData(e.originalEvent);
|
||||||
|
var data = getTouchData(e;
|
||||||
that.triggerEvent('touchend', Ox.extend(e, data));
|
that.triggerEvent('touchend', Ox.extend(e, data));
|
||||||
}
|
}
|
||||||
|
|
||||||
function onTouchmove(e) {
|
function onTouchmove(e) {
|
||||||
var data = getTouchData(e.originalEvent);
|
//var data = getTouchData(e.originalEvent);
|
||||||
|
var data = getTouchData(e;
|
||||||
that.triggerEvent('touchmove', Ox.extend(e, data));
|
that.triggerEvent('touchmove', Ox.extend(e, data));
|
||||||
}
|
}
|
||||||
|
|
||||||
function onTouchstart(e) {
|
function onTouchstart(e) {
|
||||||
var data = getTouchData(e.originalEvent);
|
//var data = getTouchData(e.originalEvent);
|
||||||
|
var data = getTouchData(e;
|
||||||
that.triggerEvent('touchstart', Ox.extend(e, data));
|
that.triggerEvent('touchstart', Ox.extend(e, data));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue