diff options
Diffstat (limited to 'apps/files/src')
-rw-r--r-- | apps/files/src/components/DragAndDropNotice.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/src/components/DragAndDropNotice.vue b/apps/files/src/components/DragAndDropNotice.vue index c05c38408b2..3f7126fac67 100644 --- a/apps/files/src/components/DragAndDropNotice.vue +++ b/apps/files/src/components/DragAndDropNotice.vue @@ -126,7 +126,7 @@ export default defineComponent({ // only when we're leaving the current element // Avoid flickering const currentTarget = event.currentTarget as HTMLElement - if (currentTarget?.contains((event.relatedTarget || event.target) as HTMLElement)) { + if (currentTarget?.contains((event.relatedTarget ?? event.target) as HTMLElement)) { return } |