mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 16:50:55 -04:00
Merge pull request #45863 from nextcloud/backport/45861/stable28
This commit is contained in:
commit
2bcf13ffd6
3 changed files with 8 additions and 3 deletions
|
|
@ -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
4
dist/files-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files-main.js.map
vendored
2
dist/files-main.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue