www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit aff2bef3f5c7fc28a9f5e82b648dff1a21997561
parent 16f228b2a327ce6379849742d270c2032fc68e88
Author: Dan Stillman <dstillman@zotero.org>
Date:   Wed, 28 Feb 2018 16:19:52 -0500

Fix scope of Zotero_RecognizePDF_Dialog

When Window is accessed from another scope (e.g., ItemTreeView), the
`let` somehow prevents Zotero_RecognizePDF_Dialog from showing up on the
Window object like all the other objects loaded via <script>.

Diffstat:
Mchrome/content/zotero/recognizePDFDialog.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/recognizePDFDialog.js b/chrome/content/zotero/recognizePDFDialog.js @@ -32,7 +32,7 @@ * @namespace */ -let Zotero_RecognizePDF_Dialog = new function () { +var Zotero_RecognizePDF_Dialog = new function () { const SUCCESS_IMAGE = 'chrome://zotero/skin/tick.png'; const FAILURE_IMAGE = 'chrome://zotero/skin/cross.png'; const LOADING_IMAGE = 'chrome://zotero/skin/arrow_refresh.png';