From 15f151d59d9019d5837baa45d98018cf4a4b8bec Mon Sep 17 00:00:00 2001 From: Billy Pham Date: Tue, 2 Jan 2018 10:54:35 -0800 Subject: [PATCH] Reduce press time wait for hammer --- addon/components/ember-table-header.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addon/components/ember-table-header.js b/addon/components/ember-table-header.js index 7667f7273..fb1c4acb9 100644 --- a/addon/components/ember-table-header.js +++ b/addon/components/ember-table-header.js @@ -85,7 +85,7 @@ export default class EmberTableHeader extends EmberTableBaseCell { let hammer = new Hammer(this.element); - hammer.add(new Hammer.Press({ time: 10 })); + hammer.add(new Hammer.Press({ time: 0 })); hammer.on('press', (ev) => { let box = this.element.getBoundingClientRect(); diff --git a/package.json b/package.json index 5d4394b84..b550165a7 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "ember-cli-eslint": "^4.0.0", "ember-cli-htmlbars-inline-precompile": "^1.0.2", "ember-cli-inject-live-reload": "^1.4.1", - "ember-cli-qunit": "4.0.0", + "ember-cli-qunit": "^4.0.0", "ember-cli-shims": "^1.1.0", "ember-cli-sri": "^2.1.0", "ember-cli-uglify": "^2.0.0",