forked from tykayn/funky-framadate-front
focus on previous hour when deleting one
This commit is contained in:
parent
8998ee2d9e
commit
0d3fdf78eb
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user