mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01:00
Cleanup hover color after drag action ended
This commit is contained in:
parent
d20a1132e3
commit
58fd61ad31
@ -282,6 +282,8 @@ export function egwDragActionImplementation()
|
||||
if (helper) helper.remove();
|
||||
const draggable = document.querySelector('.drag--moving');
|
||||
if (draggable) draggable.classList.remove('drag--moving');
|
||||
// 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')})
|
||||
};
|
||||
|
||||
// Drag Event listeners
|
||||
|
Loading…
Reference in New Issue
Block a user