From 8ed15ce2a728593d1d10acf89f02a9997b81140f Mon Sep 17 00:00:00 2001 From: Akash Shah Date: Wed, 17 Jul 2019 11:30:48 -0400 Subject: [PATCH] I was display ' notification twice --- .../empty-error-editor/empty-error-editor.component.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/AstuteClient2/src/app/ag-grid-components/empty-error-editor/empty-error-editor.component.ts b/AstuteClient2/src/app/ag-grid-components/empty-error-editor/empty-error-editor.component.ts index a156c6b..279feb3 100644 --- a/AstuteClient2/src/app/ag-grid-components/empty-error-editor/empty-error-editor.component.ts +++ b/AstuteClient2/src/app/ag-grid-components/empty-error-editor/empty-error-editor.component.ts @@ -35,13 +35,6 @@ export class EmptyErrorEditorComponent implements AfterViewInit { this.textInput.nativeElement.focus(); }); } - if (event.key === '\'') { - event.preventDefault(); - this.notif('Cannot use \' (apostrophes)'); - setTimeout(() => { - this.textInput.nativeElement.focus(); - }); - } } onKeyDown(event) {