Remove obsolete line from Zotero.Reader.open()

This commit is contained in:
Dan Stillman 2020-12-31 13:53:04 -05:00
parent a96c16a33d
commit 404eaf13d0

View file

@ -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);