mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Set hold trigger timer to 600 milliseconds in order to popup the context menu faster for touch devices
This commit is contained in:
parent
fb0059b796
commit
89a9c860e4
@ -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