This commit is contained in:
Dan Stillman 2018-03-01 03:04:25 -05:00
parent 0d4fd26be9
commit 7e290b262c

View file

@ -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();
}
};