Ensure the captcha clearing window is activated upon open on macOS

This commit is contained in:
Adomas Venčkauskas 2024-01-08 12:27:20 +02:00
parent b03dbee3e8
commit 9a6b35b962

View file

@ -229,6 +229,7 @@ Zotero.BrowserDownload = {
win.addEventListener('load', resolve);
});
browser = win.document.querySelector('browser');
Zotero.Utilities.Internal.activate(win);
pdfMIMETypeHandler = this._makePDFMIMETypeHandler(browser, pdfFoundDeferred.resolve);
Zotero.MIMETypeHandler.addHandlers("application/pdf", pdfMIMETypeHandler, true);