Skip to content

Commit

Permalink
fix(tap-click): desktop also needs tap-click
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed Aug 7, 2018
1 parent 27fdc9a commit 9f4d873
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions core/src/components/app/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 9f4d873

Please sign in to comment.