Fix accessibility

This commit is contained in:
schmelczerandras 2020-11-18 23:41:12 +01:00
parent 4d7d15c3c7
commit f88410587a
3 changed files with 2 additions and 5 deletions

View file

@ -20,9 +20,7 @@ const addSupportForTabNavigation = () =>
});
const removeUnnecessaryOutlines = () =>
(document.onclick = e => {
(e.target as HTMLElement)?.blur();
});
(document.onclick = e => (e.target as HTMLElement)?.blur());
create();
addSupportForTabNavigation();