From 753f4e8e9ca7edaf80e4bd069c93e81be4fe0ea4 Mon Sep 17 00:00:00 2001 From: windingwind <33902321+windingwind@users.noreply.github.com> Date: Fri, 8 Mar 2024 21:20:51 +0800 Subject: [PATCH] fix: reader annotation icon memory leakage --- package.json | 2 +- src/modules/reader.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e569650..6a5f0cc 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "unist-util-visit": "^5.0.0", "unist-util-visit-parents": "^6.0.1", "yamljs": "^0.3.0", - "zotero-plugin-toolkit": "^2.3.22" + "zotero-plugin-toolkit": "^2.3.23" }, "devDependencies": { "@esbuild-plugins/node-globals-polyfill": "^0.2.3", diff --git a/src/modules/reader.ts b/src/modules/reader.ts index 542bbe8..6dbf695 100644 --- a/src/modules/reader.ts +++ b/src/modules/reader.ts @@ -43,7 +43,7 @@ export function registerReaderAnnotationButton() { }, }, ], - enableElementRecord: true, + enableElementRecord: false, }), ); },