File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1263
1263
// Collect a new set of possible drops and save them in activeDrops.
1264
1264
// setActiveDrops should always be called when a drag has just started or a
1265
1265
// drag event happens while dynamicDrop is true
1266
- function setActiveDrops ( event , dragElement ) {
1266
+ function setActiveDrops ( dragElement ) {
1267
1267
// get dropzones and their elements that could recieve the draggable
1268
1268
var possibleDrops = collectDrops ( event , dragElement , true ) ;
1269
1269
1280
1280
var validDrops = [ ] ;
1281
1281
1282
1282
if ( dynamicDrop ) {
1283
- setActiveDrops ( event , dragElement ) ;
1283
+ setActiveDrops ( dragElement ) ;
1284
1284
}
1285
1285
1286
1286
// collect all dropzones and their elements which qualify for a drop
2539
2539
activeDrops . rects = [ ] ;
2540
2540
2541
2541
if ( ! dynamicDrop ) {
2542
- setActiveDrops ( event , target . _element ) ;
2542
+ setActiveDrops ( target . _element ) ;
2543
2543
}
2544
2544
2545
2545
return dragEvent ;
You can’t perform that action at this time.
0 commit comments