diff options
| author | rinsuki <428rinsuki+git@gmail.com> | 2020-08-01 21:50:21 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-01 21:50:21 +0900 |
| commit | fb7c4ee21a6bdd06d04ba674444ae6bb114d33ba (patch) | |
| tree | fa0ca0d20735c4d17a2302fe9e77c80abe7387e8 /src/client | |
| parent | fix appearance (diff) | |
| download | sharkey-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.vue | 2 |
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(); } }, |