mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-02 20:19:27 +01:00
Fix mail tree drop hover class sometimes not being removed from hovered once nodes
This commit is contained in:
parent
4f5c259078
commit
5e7a6cfef7
@ -487,6 +487,9 @@ export function egwDropActionImplementation()
|
||||
|
||||
_aoi.triggerEvent(EGW_AI_DRAG_ENTER, data);
|
||||
|
||||
// cleanup drop hover class from all other DOMs if there's still anything left
|
||||
Array.from(document.getElementsByClassName('et2dropzone drop-hover')).forEach(_i=>{_i.classList.remove('drop-hover')})
|
||||
|
||||
this.classList.add('drop-hover');
|
||||
|
||||
// stop the event from being fired for its children
|
||||
|
Loading…
Reference in New Issue
Block a user