Update messaging-room.form.vue
This commit is contained in:
parent
69593994ef
commit
ae68e6372c
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ export default Vue.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
onKeypress(e) {
|
onKeypress(e) {
|
||||||
if ((e.which == 10 || e.which == 13) && e.ctrlKey) {
|
if ((e.which == 10 || e.which == 13) && e.ctrlKey && this.canSend) {
|
||||||
this.send();
|
this.send();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue