Update '12/dragable.js'

master
murtaugh 5 years ago
parent d9c29772a7
commit bbd63e6f22

@ -12,6 +12,7 @@ function makeDragable(dragHandle, dragTarget) {
e.preventDefault();
e.stopPropagation();
dragObj = document.querySelector(dragTarget);
console.log("startDrag", dragObj);
dragObj.style.position = "absolute";
let rect = dragObj.getBoundingClientRect();

Loading…
Cancel
Save