mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
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