mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-25 16:34:06 +01:00
🚨
This commit is contained in:
parent
1da6bd10dd
commit
fac82ad618
5 changed files with 10 additions and 10 deletions
|
|
@ -279,7 +279,7 @@ export class MobileFiles extends Model {
|
|||
return;
|
||||
}
|
||||
let currentPath = filePath;
|
||||
let liElement
|
||||
let liElement;
|
||||
while (!liElement) {
|
||||
liElement = treeElement.querySelector(`[data-path="${currentPath}"]`);
|
||||
if (!liElement) {
|
||||
|
|
@ -290,7 +290,7 @@ export class MobileFiles extends Model {
|
|||
currentPath = dirname + ".sy";
|
||||
}
|
||||
} else {
|
||||
liElement.querySelector(".fn__hidden").classList.remove("fn__hidden");
|
||||
liElement.querySelector(".fn__hidden")?.classList.remove("fn__hidden");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue