fix(activator): activate w/ mouse events

This commit is contained in:
Adam Bradley
2015-09-22 20:47:32 -05:00
parent 3a2ffa8362
commit abd68e1f58

View File

@ -115,7 +115,7 @@ export class TapClick {
ev.preventDefault();
ev.stopPropagation();
} else if (self.lastTouch + 999 < Date.now()) {
} else if (this.lastTouch + 999 < Date.now()) {
this.pointerStart(ev);
}
}
@ -131,7 +131,7 @@ export class TapClick {
ev.stopPropagation();
}
if (self.lastTouch + 999 < Date.now()) {
if (this.lastTouch + 999 < Date.now()) {
this.pointerEnd(ev);
}
}