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