mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix dropspot highlight not appearing on hover
This commit is contained in:
@@ -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};
|
||||
|
Reference in New Issue
Block a user