Merge pull request #45863 from nextcloud/backport/45861/stable28

This commit is contained in:
John Molakvoæ 2024-06-14 10:16:34 +02:00 committed by GitHub
commit 2bcf13ffd6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 3 deletions

View file

@ -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()

4
dist/files-main.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long