From ac30e00c0285bd9c33572655600ae008e0c54cff Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 18 Jan 2025 01:24:21 +0200 Subject: [PATCH] refactor(client): remove redundant variable --- src/public/app/widgets/note_icon.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/public/app/widgets/note_icon.ts b/src/public/app/widgets/note_icon.ts index cc5917266..b4edf1773 100644 --- a/src/public/app/widgets/note_icon.ts +++ b/src/public/app/widgets/note_icon.ts @@ -92,7 +92,6 @@ export default class NoteIconWidget extends NoteContextAwareWidget { private $iconList!: JQuery; private $iconCategory!: JQuery; private $iconSearch!: JQuery; - private $notePathList!: JQuery; private iconToCountCache!: Promise | null; doRender() { @@ -114,7 +113,6 @@ export default class NoteIconWidget extends NoteContextAwareWidget { this.$iconSearch = this.$widget.find("input[name='icon-search']"); this.$iconSearch.on("input", () => this.renderDropdown()); - this.$notePathList = this.$widget.find(".note-path-list"); this.$widget.on("show.bs.dropdown", async () => { const { categories } = (await import("./icon_list.js")).default;