0
0
Fork 0

style: remove un-necessary semicolons

This commit is contained in:
Mara 2022-06-08 11:34:46 +02:00
parent 858173e980
commit 50cc33a604

View file

@ -1,12 +1,12 @@
export function changePathVisibility(path: string, hide: boolean) {
export async function changePathVisibility(path: string, hide: boolean) {
let n = document.querySelector(`[data-path="${path}"]`);
if (!n) {
return;
};
}
let p = n.parentElement
if (hide) {
p.style.display = `none`
} else {
p.style.display = ``;
};
};
}
}