changeset 13:36c7b187827b

bug fix
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 16 May 2023 12:54:46 -0600
parents 66e427a8d046
children f6ac0c3ad3eb
files src/dad.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dad.js	Mon May 15 18:37:41 2023 -0600
+++ b/src/dad.js	Tue May 16 12:54:46 2023 -0600
@@ -93,7 +93,7 @@
 		dragging.parentNode.removeChild(dragging);
 		document.removeEventListener('mousemove',onMouseMove);
 		document.removeEventListener('mouseup',onMouseUp);
-		document.removeEventListener('mousemove',onMouseMove);
+		document.removeEventListener('touchmove',onTouchMove);
 		document.removeEventListener('touchend',onMouseUp);
 		original.scrollIntoViewIfNeeded(false);
 		let droppedEvent = {