mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix(activator): activate w/ mouse events
This commit is contained in:
@ -115,7 +115,7 @@ export class TapClick {
|
|||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
ev.stopPropagation();
|
ev.stopPropagation();
|
||||||
|
|
||||||
} else if (self.lastTouch + 999 < Date.now()) {
|
} else if (this.lastTouch + 999 < Date.now()) {
|
||||||
this.pointerStart(ev);
|
this.pointerStart(ev);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -131,7 +131,7 @@ export class TapClick {
|
|||||||
ev.stopPropagation();
|
ev.stopPropagation();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (self.lastTouch + 999 < Date.now()) {
|
if (this.lastTouch + 999 < Date.now()) {
|
||||||
this.pointerEnd(ev);
|
this.pointerEnd(ev);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user