Fix dropspot highlight not appearing on hover

This commit is contained in:
maver
2023-06-03 21:59:51 +02:00
parent 53fe7f1d94
commit ff07572fd4
2 changed files with 3 additions and 3 deletions

View File

@@ -84,7 +84,7 @@ DraggableListModule.prototype.getClosestDraggable = function (element) {
DraggableListModule.prototype.getClosestDroppable = function (element) {
return element !== this.list && element.closest('#' + this.list.id)
? element.closest('.dropAllowed')
? element.closest('.droppable')
: null;
}
@@ -124,4 +124,4 @@ DraggablePromptListModule.prototype = Object.create(DraggableListModule.prototyp
DraggablePromptListModule.prototype.constructor = DraggablePromptListModule;
export {DraggablePromptListModule};
export {DraggablePromptListModule};