Fix outlines

This commit is contained in:
schmelczerandras 2020-11-19 10:35:08 +01:00
parent 59295fafef
commit b7392ecbf9

View file

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