Vanessa 2023-01-19 21:27:16 +08:00
parent 264fb0dff6
commit 01a3a14ef6
2 changed files with 11 additions and 3 deletions

View file

@ -649,7 +649,7 @@ export class MobileFiles extends Model {
}
}
private getLeaf(liElement: Element, notebookId: string) {
public getLeaf(liElement: Element, notebookId: string) {
const toggleElement = liElement.querySelector(".b3-list-item__arrow");
if (toggleElement.classList.contains("b3-list-item__arrow--open")) {
toggleElement.classList.remove("b3-list-item__arrow--open");