mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-29 21:37:34 -07:00
チャットでCmd+Enterできないのを修正 (#6614)
This commit is contained in:
parent
b3221644d4
commit
8831ae8b32
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue