From 9f4d8734096cf1ae55e200dd07695b6d0d32bb21 Mon Sep 17 00:00:00 2001 From: "Manu Mtz.-Almeida" Date: Tue, 7 Aug 2018 02:33:41 +0200 Subject: [PATCH] fix(tap-click): desktop also needs tap-click --- core/src/components/app/app.tsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/core/src/components/app/app.tsx b/core/src/components/app/app.tsx index 44a47d3457c..89d2e8fced8 100644 --- a/core/src/components/app/app.tsx +++ b/core/src/components/app/app.tsx @@ -28,7 +28,7 @@ export class App { } componentDidLoad() { - importTapClick(this.win, this.isDevice); + importTapClick(this.win); importInputShims(this.win, this.config); importStatusTap(this.win, this.isDevice, this.queue); } @@ -57,10 +57,8 @@ async function importStatusTap(win: Window, device: boolean, queue: QueueApi) { } } -async function importTapClick(win: Window, device: boolean) { - if (device) { - (await import('../../utils/tap-click')).startTapClick(win.document); - } +async function importTapClick(win: Window) { + (await import('../../utils/tap-click')).startTapClick(win.document); } async function importInputShims(win: Window, config: Config) {