Skip to content

Commit

Permalink
Patch drag error
Browse files Browse the repository at this point in the history
  • Loading branch information
cassiancc committed Jul 27, 2022
1 parent 10556ff commit f4011e7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ function addListeners() {
let items = document.querySelectorAll('.potentialdrag');
items.forEach(function(item) {
item.addEventListener('dragstart', startDrag);
item.addEventListener('drag', whileDrag);
item.addEventListener('dragend', endDrag);
});
}
Expand Down

0 comments on commit f4011e7

Please sign in to comment.