diff options
author | Christopher Ng <chrng8@gmail.com> | 2024-01-03 11:47:10 -0800 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2024-01-05 16:46:39 -0800 |
commit | 5e7ba125f0b6125c449fcf45763681d0a09af353 (patch) | |
tree | 1a21f12999305aed0d499ad20a5e8127346e8f71 /apps/files/src/components/FileEntry.vue | |
parent | 568a997a6895c44c4428d513a0514eef6d97a774 (diff) | |
download | nextcloud-server-5e7ba125f0b6125c449fcf45763681d0a09af353.tar.gz nextcloud-server-5e7ba125f0b6125c449fcf45763681d0a09af353.zip |
fix(files): Fix unresponsive file click to download
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/files/src/components/FileEntry.vue')
-rw-r--r-- | apps/files/src/components/FileEntry.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/src/components/FileEntry.vue b/apps/files/src/components/FileEntry.vue index a6ca70d2800..5e5476b08f7 100644 --- a/apps/files/src/components/FileEntry.vue +++ b/apps/files/src/components/FileEntry.vue @@ -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 } |