Fix navigation to specific PDF page
This commit is contained in:
parent
f0816cc8fb
commit
224eb6bc84
2 changed files with 2 additions and 5 deletions
|
@ -38,10 +38,7 @@ Zotero.OpenPDF = {
|
|||
let library = Zotero.Libraries.get(item.libraryID);
|
||||
if (library.libraryType == 'user' && Zotero.Prefs.get('beta.useInternalPDFReader')) {
|
||||
let location = {
|
||||
position: {
|
||||
pageIndex: page - 1,
|
||||
rects: [[0, 0, 0, 0]]
|
||||
}
|
||||
pageIndex: page - 1
|
||||
};
|
||||
await Zotero.Reader.open(item.id, location);
|
||||
return true;
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 4f10e2f0e3c248de3b69ca45acdfd50933de3b45
|
||||
Subproject commit 32880049dc0c6471c3eebd6f7976b33eabb612f0
|
Loading…
Reference in a new issue