mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUACAMOLE-294: Merge fix for typo in guacTouchDrag() return value check.
This commit is contained in:
@@ -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();
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user