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(); }); }