We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e354cd commit a38838dCopy full SHA for a38838d
src/gui/review-queue-list-view.tsx
@@ -201,11 +201,12 @@ export class ReviewQueueListView extends ItemView {
201
hidden: boolean,
202
deck: NoteReviewDeck,
203
): void {
204
- const navFileEl: HTMLElement = folderEl
205
- .getElementsByClassName("tree-item-children nav-folder-children")[0]
206
- .createDiv("nav-file");
+ const childrenEl: HTMLElement = folderEl.getElementsByClassName(
+ "tree-item-children nav-folder-children",
+ )[0] as HTMLElement;
207
+ const navFileEl: HTMLElement = childrenEl.createDiv("nav-file");
208
if (hidden) {
- navFileEl.style.display = "none";
209
+ childrenEl.style.display = "none";
210
}
211
212
const navFileTitle: HTMLElement = navFileEl.createDiv("tree-item-self nav-file-title");
0 commit comments