diff options
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/src/components/FileEntryMixin.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/files/src/components/FileEntryMixin.ts b/apps/files/src/components/FileEntryMixin.ts index 03fefe80f7b..6ce90c0e28c 100644 --- a/apps/files/src/components/FileEntryMixin.ts +++ b/apps/files/src/components/FileEntryMixin.ts @@ -225,6 +225,11 @@ export default defineComponent({ }, execDefaultAction(event) { + // Ignore right click. + if (event.button > 1) { + return + } + // if ctrl+click or middle mouse button, open in new tab if (event.ctrlKey || event.metaKey || event.button === 1) { event.preventDefault() |