mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +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
|
// Signal end of drag gesture
|
||||||
if (inProgress && guacTouchDrag) {
|
if (inProgress && guacTouchDrag) {
|
||||||
$scope.$apply(function dragComplete() {
|
$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();
|
e.preventDefault();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user