Don't miss cards dropped in the same container!
This commit is contained in:
@@ -35,7 +35,7 @@ export default class extends Controller {
|
||||
async drop(event) {
|
||||
const container = this.#containerContaining(event.target)
|
||||
|
||||
if (!container) { return }
|
||||
if (!container || container === this.sourceContainer) { return }
|
||||
|
||||
this.wasDropped = true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user