Fix bug in 97661539dc
This commit is contained in:
parent
0d4fd26be9
commit
7e290b262c
1 changed files with 3 additions and 3 deletions
|
@ -89,9 +89,9 @@ Zotero.RecognizePDF = new function () {
|
|||
return;
|
||||
}
|
||||
this.recognizeItems(pdfs);
|
||||
let pane = Zotero.getActiveZoteroPane();
|
||||
if (pane) {
|
||||
Zotero_RecognizePDF_Dialog.open();
|
||||
var win = Services.wm.getMostRecentWindow("navigator:browser");
|
||||
if (win) {
|
||||
win.Zotero_RecognizePDF_Dialog.open();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue