We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39d9659 commit 6321007Copy full SHA for 6321007
app/javascript/controllers/drag_and_drop_controller.js
@@ -39,6 +39,7 @@ export default class extends Controller {
39
this.wasDropped = true
40
this.#increaseCounter(targetContainer)
41
this.#decreaseCounter(this.sourceContainer)
42
+
43
const sourceContainer = this.sourceContainer
44
this.#insertDraggedItem(targetContainer, this.dragItem)
45
await this.#submitDropRequest(this.dragItem, targetContainer)
0 commit comments