diff options
author | Joas Schilling <coding@schilljs.com> | 2021-06-14 12:54:25 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-06-14 12:54:25 +0300 |
commit | 49513c613ba357ec84e33f75735357d60fcdffb0 (patch) | |
tree | 69452b5bc68dfae1bf98afebc42b7155c755f4bf | |
parent | ff4ed33e8eb76c071a95ae2a3cd5657bdc09c7b5 (diff) |
Allow to open files with ctrl+click
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue b/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue index f363a799b..162f1e3b7 100644 --- a/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue +++ b/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue @@ -26,7 +26,7 @@ :tabindex="wrapperTabIndex" class="file-preview" :class="{ 'file-preview--viewer-available': isViewerAvailable, 'file-preview--upload-editor': isUploadEditor }" - @click="handleClick" + @click.exact="handleClick" @keydown.enter="handleClick"> <div v-if="!isLoading" |