From 6813a2ca5a1a342518571950b7d310830ba23d28 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 8 Dec 2016 23:32:03 +0100 Subject: [PATCH] drag: fix traversing disabling --- src/browser/js/jquery/jquery.drag.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/js/jquery/jquery.drag.js b/src/browser/js/jquery/jquery.drag.js index 6673b99b..1ce4cbf2 100644 --- a/src/browser/js/jquery/jquery.drag.js +++ b/src/browser/js/jquery/jquery.drag.js @@ -294,7 +294,7 @@ this.on('draginit.traversing',()=>{}) - this.on('disableTraversingGestures',function() { + this.on('disableTraversingGestures',()=>{ this.off('draginit.traversing') self.removeEventListener("mousedown", down, true) self.removeEventListener("touchstart", down, true)