diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-08-23 19:55:03 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-08-27 11:58:27 +0200 |
commit | 8fb9c821adba99c97bcb510bb9fe80dfe3af7f0d (patch) | |
tree | 8c205db9a68ae1e2d60aa26776357526b4c2b506 /dist/files-main.js | |
parent | c9f82ff381021a0113daee020fbe3b44b8cf3faa (diff) | |
download | nextcloud-server-8fb9c821adba99c97bcb510bb9fe80dfe3af7f0d.tar.gz nextcloud-server-8fb9c821adba99c97bcb510bb9fe80dfe3af7f0d.zip |
fix(files): Reset drop notice on firefox
On firefox there is an old bug where when you move a dragged file outside
the window the `dragleave` event is never emitted.
So we just use a timeout to reset the drag over state.
Also a small change: Use the ID of the main container instead of relying on tag name and class.
(The ID is guranteed as other APIs rely on it, while the class is just used internally).
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'dist/files-main.js')
0 files changed, 0 insertions, 0 deletions