focus on previous hour when deleting one

This commit is contained in:
Tykayn 2022-03-10 11:08:04 +01:00 committed by tykayn
parent 8998ee2d9e
commit 0d3fdf78eb

View File

@ -74,7 +74,7 @@ export class StepFourComponent implements OnInit {
} }
focusOnChoice(index): void { focusOnChoice(index): void {
const selector = '#choice_label_' + index; const selector = '#dateChoices_' + index;
const elem = this.document.querySelector(selector); const elem = this.document.querySelector(selector);
if (elem) { if (elem) {
elem.focus(); elem.focus();