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
1 changed files with 1 additions and 1 deletions

View File

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