focus to target after toggle
This commit is contained in:
parent
df3bd3a1d2
commit
6026793c1d
1 changed files with 1 additions and 0 deletions
|
@ -16,5 +16,6 @@ delegate('click', TOGGLE_SOURCE_SELECTOR, (evt) => {
|
||||||
const targetElements = document.querySelectorAll(targetSelector);
|
const targetElements = document.querySelectorAll(targetSelector);
|
||||||
for (let target of targetElements) {
|
for (let target of targetElements) {
|
||||||
toggle(target);
|
toggle(target);
|
||||||
|
target.focus();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue