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>.
This commit is contained in:
parent
16f228b2a3
commit
aff2bef3f5
1 changed files with 1 additions and 1 deletions
|
@ -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';
|
||||
|
|
Loading…
Add table
Reference in a new issue