summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorrinsuki <428rinsuki+git@gmail.com>2020-08-01 21:50:21 +0900
committerGitHub <noreply@github.com>2020-08-01 21:50:21 +0900
commitfb7c4ee21a6bdd06d04ba674444ae6bb114d33ba (patch)
treefa0ca0d20735c4d17a2302fe9e77c80abe7387e8 /src/client
parentfix appearance (diff)
downloadsharkey-fb7c4ee21a6bdd06d04ba674444ae6bb114d33ba.tar.gz
sharkey-fb7c4ee21a6bdd06d04ba674444ae6bb114d33ba.tar.bz2
sharkey-fb7c4ee21a6bdd06d04ba674444ae6bb114d33ba.zip
チャットでCmd+Enterできないのを修正 (#6614)
Diffstat (limited to 'src/client')
-rw-r--r--src/client/pages/messaging/messaging-room.form.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/pages/messaging/messaging-room.form.vue b/src/client/pages/messaging/messaging-room.form.vue
index be47efd2ce..1c33eaa76e 100644
--- a/src/client/pages/messaging/messaging-room.form.vue
+++ b/src/client/pages/messaging/messaging-room.form.vue
@@ -151,7 +151,7 @@ export default Vue.extend({
},
onKeypress(e) {
- if ((e.which == 10 || e.which == 13) && e.ctrlKey && this.canSend) {
+ if ((e.which == 10 || e.which == 13) && (e.ctrlKey || e.metaKey) && this.canSend) {
this.send();
}
},