mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
fix(files): Fix unresponsive file click to download
Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
parent
131e82e199
commit
2142d469a0
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue