From f2ef6544a54d1dc4c9c7cf3e89e01aec70868352 Mon Sep 17 00:00:00 2001 From: Nicolas Constant Date: Wed, 26 Sep 2018 00:53:09 -0400 Subject: [PATCH] added Ctrl+Enter keybind --- .../add-new-status/add-new-status.component.html | 4 ++-- .../add-new-status/add-new-status.component.ts | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/app/components/floating-column/add-new-status/add-new-status.component.html b/src/app/components/floating-column/add-new-status/add-new-status.component.html index 9055760a..52e1afa4 100644 --- a/src/app/components/floating-column/add-new-status/add-new-status.component.html +++ b/src/app/components/floating-column/add-new-status/add-new-status.component.html @@ -6,8 +6,8 @@ - + + diff --git a/src/app/components/floating-column/add-new-status/add-new-status.component.ts b/src/app/components/floating-column/add-new-status/add-new-status.component.ts index 7c1d6c47..1389afd1 100644 --- a/src/app/components/floating-column/add-new-status/add-new-status.component.ts +++ b/src/app/components/floating-column/add-new-status/add-new-status.component.ts @@ -67,4 +67,9 @@ export class AddNewStatusComponent implements OnInit { var regAccounts = this.store.snapshot().registeredaccounts.accounts; return regAccounts; } + + onCtrlEnter(): boolean { + this.onSubmit(); + return false; + } }