mirror of
https://github.com/dyiop/astute.git
synced 2025-04-03 20:10:16 -04:00
I was display ' notification twice
This commit is contained in:
parent
987d4420ba
commit
8ed15ce2a7
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user