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}"]`); let n = document.querySelector(`[data-path="${path}"]`);
if (!n) { if (!n) {
return; return;
}; }
let p = n.parentElement let p = n.parentElement
if (hide) { if (hide) {
p.style.display = `none` p.style.display = `none`
} else { } else {
p.style.display = ``; p.style.display = ``;
}; }
}; }