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}"]`);
|
||||
if (!n) {
|
||||
return;
|
||||
};
|
||||
}
|
||||
let p = n.parentElement
|
||||
if (hide) {
|
||||
p.style.display = `none`
|
||||
} else {
|
||||
p.style.display = ``;
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue