diff --git a/src/app.vue b/src/app.vue index 51440be..ee21d31 100644 --- a/src/app.vue +++ b/src/app.vue @@ -17,7 +17,15 @@ - + @@ -82,6 +90,12 @@ export default { this.number = `${this.number}${key}` }, + keypress(evt) { + if (evt.keyCode === 13) { + this.toggleCall() + } + }, + setupPhone() { if (!this.phone.device) { this.phone.device = new Twilio.Device()