Fix potential translator initialization problem after 04516af552
This commit is contained in:
parent
2ead95b39a
commit
425838e2ec
1 changed files with 2 additions and 1 deletions
|
@ -47,7 +47,6 @@ Zotero.Translators = new function() {
|
|||
if (_initializationDeferred && !options.reinit) {
|
||||
return _initializationDeferred.promise;
|
||||
}
|
||||
_initializationDeferred = Zotero.Promise.defer();
|
||||
|
||||
// Wait until bundled files have been updated, except when this is called by the schema update
|
||||
// code itself
|
||||
|
@ -55,6 +54,8 @@ Zotero.Translators = new function() {
|
|||
yield Zotero.Schema.schemaUpdatePromise;
|
||||
}
|
||||
|
||||
_initializationDeferred = Zotero.Promise.defer();
|
||||
|
||||
Zotero.debug("Initializing translators");
|
||||
var start = new Date;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue