Skip to content

Commit

Permalink
Update packages/@uppy/drop-target/src/index.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Antoine du Hamel <antoine@transloadit.com>
  • Loading branch information
arturi and aduh95 committed Jan 22, 2024
1 parent 2160314 commit 1863dee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@uppy/drop-target/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export default class DropTarget<
// Add a small (+) icon on drop
// (and prevent browsers from interpreting this as files being _moved_ into the browser,
// https://github.com/transloadit/uppy/issues/1978)
event.dataTransfer!.dropEffect = 'copy' // eslint-disable-line no-param-reassign
event.dataTransfer.dropEffect = 'copy' // eslint-disable-line no-param-reassign

clearTimeout(this.removeDragOverClassTimeout)
;(event.currentTarget as HTMLElement).classList.add('uppy-is-drag-over')
Expand Down

0 comments on commit 1863dee

Please sign in to comment.