From 635035ec34a4380684f8d9c9e8d726ad20390aa6 Mon Sep 17 00:00:00 2001 From: Chris Gavin Date: Sun, 7 May 2017 11:08:11 +0100 Subject: [PATCH] GUACAMOLE-294: Fix an incorrectly positioned bracket. --- guacamole/src/main/webapp/app/touch/directives/guacTouchDrag.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guacamole/src/main/webapp/app/touch/directives/guacTouchDrag.js b/guacamole/src/main/webapp/app/touch/directives/guacTouchDrag.js index ff387976c..ffde35c72 100644 --- a/guacamole/src/main/webapp/app/touch/directives/guacTouchDrag.js +++ b/guacamole/src/main/webapp/app/touch/directives/guacTouchDrag.js @@ -168,7 +168,7 @@ angular.module('touch').directive('guacTouchDrag', [function guacTouchDrag() { // Signal end of drag gesture if (inProgress && guacTouchDrag) { $scope.$apply(function dragComplete() { - if (guacTouchDrag(true, startX, startY, currentX, currentY, deltaX, deltaY === false)) + if (guacTouchDrag(true, startX, startY, currentX, currentY, deltaX, deltaY) === false) e.preventDefault(); }); }