Fix undefined Zotero_Tabs issue
This commit is contained in:
parent
06676be8e4
commit
924d29ff7e
2 changed files with 4 additions and 4 deletions
|
@ -302,9 +302,9 @@ Zotero.RecognizePDF = new function () {
|
|||
}
|
||||
|
||||
try {
|
||||
zp = Zotero.getActiveZoteroPane();
|
||||
if (selectParent && zp && zp.Zotero_Tabs.selectedID != 'zotero-pane') {
|
||||
await zp.selectItem(parentItem.id);
|
||||
let win = Zotero.getMainWindow();
|
||||
if (selectParent && win && win.Zotero_Tabs.selectedID != 'zotero-pane') {
|
||||
await win.ZoteroPane.selectItem(parentItem.id);
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit fedade7ffde74e281d11205f02acfac2c1c1376e
|
||||
Subproject commit 035410a4b21b790d5ab058cc376f5650be21cf5a
|
Loading…
Reference in a new issue