1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-17 20:45:34 +02:00

fix(client): fix lint issues in scripts (#8621)

This commit is contained in:
Andreas Nedbal
2022-05-07 07:19:15 +02:00
committed by GitHub
parent ad860905c6
commit a975a0971c
17 changed files with 75 additions and 85 deletions

View File

@@ -2,7 +2,7 @@ export default (parent, child, checkSame = true) => {
if (checkSame && parent === child) return true;
let node = child.parentNode;
while (node) {
if (node == parent) return true;
if (node === parent) return true;
node = node.parentNode;
}
return false;