From a7dbc65806080902f569212ac798da35f971b4fc Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 8 Dec 2016 13:18:31 +0100 Subject: [PATCH] drag: traversing gestures can start from any point in the container that has the feature enabled --- src/browser/js/jquery/jquery.drag.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/browser/js/jquery/jquery.drag.js b/src/browser/js/jquery/jquery.drag.js index a527277b..6673b99b 100644 --- a/src/browser/js/jquery/jquery.drag.js +++ b/src/browser/js/jquery/jquery.drag.js @@ -292,8 +292,10 @@ self.addEventListener("mousedown", down, true) self.addEventListener("touchstart", down, true) + this.on('draginit.traversing',()=>{}) this.on('disableTraversingGestures',function() { + this.off('draginit.traversing') self.removeEventListener("mousedown", down, true) self.removeEventListener("touchstart", down, true) })