mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-30 00:23:21 +00:00 
			
		
		
		
	GUAC-901: Name all functions. Declare local functions with var.
This commit is contained in:
		| @@ -127,7 +127,7 @@ angular.module('touch').directive('guacTouchDrag', [function guacTouchDrag() { | |||||||
|             var deltaY = 0; |             var deltaY = 0; | ||||||
|  |  | ||||||
|             // When there is exactly one touch, monitor the change in location |             // When there is exactly one touch, monitor the change in location | ||||||
|             element.addEventListener("touchmove", function(e) { |             element.addEventListener("touchmove", function dragTouchMove(e) { | ||||||
|                 if (e.touches.length === 1) { |                 if (e.touches.length === 1) { | ||||||
|  |  | ||||||
|                     e.stopPropagation(); |                     e.stopPropagation(); | ||||||
| @@ -165,7 +165,7 @@ angular.module('touch').directive('guacTouchDrag', [function guacTouchDrag() { | |||||||
|             }, false); |             }, false); | ||||||
|  |  | ||||||
|             // Reset monitoring and fire end event when done |             // Reset monitoring and fire end event when done | ||||||
|             element.addEventListener("touchend", function(e) { |             element.addEventListener("touchend", function dragTouchEnd(e) { | ||||||
|  |  | ||||||
|                 if (startX && startY && e.touches.length === 0) { |                 if (startX && startY && e.touches.length === 0) { | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user