diff options
Diffstat (limited to 'assets/js/src/Gantt.js')
-rw-r--r-- | assets/js/src/Gantt.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/assets/js/src/Gantt.js b/assets/js/src/Gantt.js index 9e469bd3..3a4dc8ce 100644 --- a/assets/js/src/Gantt.js +++ b/assets/js/src/Gantt.js @@ -268,6 +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, stop: function() { var block = jQuery(this); self.updateDataAndPosition(block, startDate); @@ -282,6 +283,7 @@ Gantt.prototype.listenForBlockMove = function(startDate) { jQuery("div.ganttview-block", this.options.container).draggable({ axis: "x", + delay: $.support.touch ? 1500 : 300, grid: [this.options.cellWidth, this.options.cellWidth], stop: function() { var block = jQuery(this); |