summaryrefslogtreecommitdiff
path: root/assets/js/src/Gantt.js
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-08-29 13:01:49 -0400
committerFrederic Guillot <fred@kanboard.net>2015-08-29 13:01:49 -0400
commit913d891a408251338ee4a8ff48b71a67a3a8f3c9 (patch)
treec9224012d1551140a7ce92157c43f23eb33b51d9 /assets/js/src/Gantt.js
parent720d1bc3bd8688b56079ccda490ad0a11acc33e7 (diff)
Revert touch delay due to scrolling issue
Diffstat (limited to 'assets/js/src/Gantt.js')
-rw-r--r--assets/js/src/Gantt.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/assets/js/src/Gantt.js b/assets/js/src/Gantt.js
index 3a4dc8ce..cac5f295 100644
--- a/assets/js/src/Gantt.js
+++ b/assets/js/src/Gantt.js
@@ -268,7 +268,7 @@ Gantt.prototype.listenForBlockResize = function(startDate) {
jQuery("div.ganttview-block", this.options.container).resizable({
grid: this.options.cellWidth,
handles: "e,w",
- delay: $.support.touch ? 1500 : 300,
+ delay: 300,
stop: function() {
var block = jQuery(this);
self.updateDataAndPosition(block, startDate);
@@ -283,7 +283,7 @@ Gantt.prototype.listenForBlockMove = function(startDate) {
jQuery("div.ganttview-block", this.options.container).draggable({
axis: "x",
- delay: $.support.touch ? 1500 : 300,
+ delay: 300,
grid: [this.options.cellWidth, this.options.cellWidth],
stop: function() {
var block = jQuery(this);