Repository: incubator-guacamole-client
Updated Branches:
  refs/heads/master 0bec63219 -> 5f1927166


GUACAMOLE-294: Fix an incorrectly positioned bracket.


Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/commit/635035ec
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/tree/635035ec
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/diff/635035ec

Branch: refs/heads/master
Commit: 635035ec34a4380684f8d9c9e8d726ad20390aa6
Parents: 7fd7035
Author: Chris Gavin <[email protected]>
Authored: Sun May 7 11:08:11 2017 +0100
Committer: Chris Gavin <[email protected]>
Committed: Sun May 7 19:04:01 2017 +0100

----------------------------------------------------------------------
 guacamole/src/main/webapp/app/touch/directives/guacTouchDrag.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/635035ec/guacamole/src/main/webapp/app/touch/directives/guacTouchDrag.js
----------------------------------------------------------------------
diff --git a/guacamole/src/main/webapp/app/touch/directives/guacTouchDrag.js 
b/guacamole/src/main/webapp/app/touch/directives/guacTouchDrag.js
index ff38797..ffde35c 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();
                         });
                     }

Reply via email to