diff --git a/chrome/content/zotero/xpcom/reader.js b/chrome/content/zotero/xpcom/reader.js index a208b7b83c..2fa2d25921 100644 --- a/chrome/content/zotero/xpcom/reader.js +++ b/chrome/content/zotero/xpcom/reader.js @@ -516,9 +516,6 @@ class ReaderInstance { throw new Error(`The file "${path}" is too large`); } let buf = await OS.File.read(path, {}); - // TODO during buf -> data object migration: Do we actually need to get the underlying buffer and wrap it - // in a new Uint8Array? - buf = new Uint8Array(new Uint8Array(buf).buffer); let baseURI = `zotero://attachment/${Zotero.API.getLibraryPrefix(item.libraryID)}/items/${item.key}/`; return { buf,