summaryrefslogtreecommitdiffstats
path: root/apps/files/src/components/FileEntryMixin.ts
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/src/components/FileEntryMixin.ts')
-rw-r--r--apps/files/src/components/FileEntryMixin.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/src/components/FileEntryMixin.ts b/apps/files/src/components/FileEntryMixin.ts
index 9eead369322..d3a9e80c9b7 100644
--- a/apps/files/src/components/FileEntryMixin.ts
+++ b/apps/files/src/components/FileEntryMixin.ts
@@ -332,7 +332,7 @@ export default defineComponent({
// If another button is pressed, cancel it. This
// allows cancelling the drag with the right click.
- if (!this.canDrop || event.button !== 0) {
+ if (!this.canDrop || event.button) {
return
}