From 404eaf13d0e5635474ba098380948edf11d7cdb2 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 31 Dec 2020 13:53:04 -0500 Subject: [PATCH] Remove obsolete line from Zotero.Reader.open() --- chrome/content/zotero/xpcom/reader.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/chrome/content/zotero/xpcom/reader.js b/chrome/content/zotero/xpcom/reader.js index a7391b913a..fce4018413 100644 --- a/chrome/content/zotero/xpcom/reader.js +++ b/chrome/content/zotero/xpcom/reader.js @@ -35,8 +35,6 @@ class ReaderInstance { let buf = await OS.File.read(path, {}); this.updateTitle(); buf = new Uint8Array(buf).buffer; - // TODO: Remove when fixed - item._loaded.childItems = true; let annotationItems = item.getAnnotations(); let annotations = (await Promise.all(annotationItems.map(x => this._getAnnotation(x)))).filter(x => x); this.annotationItemIDs = annotationItems.map(x => x.id);