restored default behaviour for drag&drop of files #965
Massimo Melina committed
Apr 13, 2025 at 22:50 UTC
da034dc3110faf02a886e9199a30684630694912
1 file changed
+1
-1
frontend/src/dragFiles.ts
+1
-1
@@ -13,7 +13,7 @@ export const dragFilesSource = (de: DirEntry) => de.canDelete() ? {
13
entry = (ev.target as HTMLElement).getAttribute('href') || ''
14
},
15
...de.canUpload() && dragFilesDestination,
16
-} : { draggable: false} // avoid showing translucent dom elements, that is the default behavior when dragging
16
+} : null
17
18
export const dragFilesDestination = {
19
onDragOver(ev: DragEvent) {