Update messaging-room.form.vue
This commit is contained in:
parent
69593994ef
commit
ae68e6372c
|
@ -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 New Issue