Skip to content

Commit 5395c9a

Browse files
committed
Revert "Add event argument to setActiveDrops"
This reverts commit b9faf54.
1 parent 07208f1 commit 5395c9a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

interact.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,7 +1263,7 @@
12631263
// Collect a new set of possible drops and save them in activeDrops.
12641264
// setActiveDrops should always be called when a drag has just started or a
12651265
// drag event happens while dynamicDrop is true
1266-
function setActiveDrops (event, dragElement) {
1266+
function setActiveDrops (dragElement) {
12671267
// get dropzones and their elements that could recieve the draggable
12681268
var possibleDrops = collectDrops(event, dragElement, true);
12691269

@@ -1280,7 +1280,7 @@
12801280
var validDrops = [];
12811281

12821282
if (dynamicDrop) {
1283-
setActiveDrops(event, dragElement);
1283+
setActiveDrops(dragElement);
12841284
}
12851285

12861286
// collect all dropzones and their elements which qualify for a drop
@@ -2539,7 +2539,7 @@
25392539
activeDrops.rects = [];
25402540

25412541
if (!dynamicDrop) {
2542-
setActiveDrops(event, target._element);
2542+
setActiveDrops(target._element);
25432543
}
25442544

25452545
return dragEvent;

0 commit comments

Comments
 (0)