diff src/dad.js @ 5:1293cb0d30da

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 23 Apr 2023 17:14:52 -0600
parents 0130ae25ef94
children 4d699321068f
line wrap: on
line diff
--- a/src/dad.js	Sat Apr 22 21:17:53 2023 -0600
+++ b/src/dad.js	Sun Apr 23 17:14:52 2023 -0600
@@ -46,8 +46,8 @@
 	function onMouseUp(event) {
 		//console.log(event);
 		dad.onDrop({
-			draggable: original,
-			dragged: dragging,
+			original: original,
+			dragging: dragging,
 			mouseEvent: event,
 		});
 		original.removeAttribute('dad-original');
@@ -58,7 +58,7 @@
 		document.removeEventListener('touchend',onMouseUp);
 		original.scrollIntoViewIfNeeded(false);
 		let droppedEvent = {
-			draggable: original,
+			original: original,
 		};
 		original = null;
 		dragging = null;