From 89a9c860e42081fcb624f78a40c0d0bda702d983 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 22 Oct 2014 15:21:07 +0000 Subject: [PATCH] Set hold trigger timer to 600 milliseconds in order to popup the context menu faster for touch devices --- phpgwapi/js/jquery/jquery-tap-and-hold/jquery.tapandhold.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/js/jquery/jquery-tap-and-hold/jquery.tapandhold.js b/phpgwapi/js/jquery/jquery-tap-and-hold/jquery.tapandhold.js index aae3495bf5..b70041d557 100644 --- a/phpgwapi/js/jquery/jquery-tap-and-hold/jquery.tapandhold.js +++ b/phpgwapi/js/jquery/jquery-tap-and-hold/jquery.tapandhold.js @@ -18,7 +18,7 @@ * tap and hold on touch interfaces. */ (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 TOUCHSTART = "touchstart"; var TOUCHEND = "touchend";