This commit is contained in:
2026-02-16 19:34:35 +00:00
commit 9ab0940ca4
784 changed files with 41710 additions and 0 deletions
@@ -0,0 +1,9 @@
export const removeOutline = (elements: HTMLElement | HTMLElement[] | null) => {
if (!elements) return;
const elemArray = Array.isArray(elements) ? elements : [elements];
for (const element of elemArray) {
element.style.outline = '';
if (!element.style[0]) element.removeAttribute('style');
removeOutline(Array.from(element.children) as HTMLElement[]);
}
};