style: remove un-necessary semicolons
This commit is contained in:
parent
858173e980
commit
50cc33a604
1 changed files with 4 additions and 4 deletions
|
|
@ -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 = ``;
|
||||||
};
|
}
|
||||||
};
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue