Merge pull request #42604 from nextcloud/backport/42566/stable28

[stable28] fix(files): Fix unresponsive file click to download
This commit is contained in:
Pytal 2024-01-08 12:08:26 -08:00 committed by GitHub
commit dba7369476
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View file

@ -416,8 +416,8 @@ export default defineComponent({
},
execDefaultAction(event) {
event.preventDefault()
if (event.ctrlKey || event.metaKey) {
event.preventDefault()
window.open(generateUrl('/f/{fileId}', { fileId: this.fileid }))
return false
}

View file

@ -283,8 +283,8 @@ export default Vue.extend({
},
execDefaultAction(event) {
event.preventDefault()
if (event.ctrlKey || event.metaKey) {
event.preventDefault()
window.open(generateUrl('/f/{fileId}', { fileId: this.fileid }))
return false
}

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