forked from extern/egroupware
Set hold trigger timer to 600 milliseconds in order to popup the context menu faster for touch devices
This commit is contained in:
parent
aafb2c1d12
commit
06adc041fc
@ -18,7 +18,7 @@
|
|||||||
* tap and hold on touch interfaces.
|
* tap and hold on touch interfaces.
|
||||||
*/
|
*/
|
||||||
(function($) {
|
(function($) {
|
||||||
var TAP_AND_HOLD_TRIGGER_TIMER = 1000;
|
var TAP_AND_HOLD_TRIGGER_TIMER = 600;
|
||||||
var MAX_DISTANCE_ALLOWED_IN_TAP_AND_HOLD_EVENT = 40;
|
var MAX_DISTANCE_ALLOWED_IN_TAP_AND_HOLD_EVENT = 40;
|
||||||
var TOUCHSTART = "touchstart";
|
var TOUCHSTART = "touchstart";
|
||||||
var TOUCHEND = "touchend";
|
var TOUCHEND = "touchend";
|
||||||
|
Loading…
Reference in New Issue
Block a user