Remove obsolete line from Zotero.Reader.open()
This commit is contained in:
parent
a96c16a33d
commit
404eaf13d0
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue