Don't jump back to library tab when PDF recognition finishes
This commit is contained in:
parent
b850d16c89
commit
2112aa7271
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ Zotero.RecognizePDF = new function () {
|
|||
|
||||
try {
|
||||
let win = Zotero.getMainWindow();
|
||||
if (selectParent && win && win.Zotero_Tabs.selectedID != 'zotero-pane') {
|
||||
if (selectParent && win && win.Zotero_Tabs.selectedID == 'zotero-pane') {
|
||||
await win.ZoteroPane.selectItem(parentItem.id);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue