Make sure Zotero.Libraries.userLibrary doesn't get out of sync
b976c84a29 (commitcomment-13492424)
This commit is contained in:
parent
1b333be23f
commit
ba3d90eaf9
1 changed files with 1 additions and 2 deletions
|
@ -34,10 +34,9 @@ Zotero.Libraries = new function () {
|
|||
}
|
||||
});
|
||||
|
||||
let _userLibrary;
|
||||
Zotero.defineProperty(this, 'userLibrary', {
|
||||
get: function () {
|
||||
return _userLibrary || (_userLibrary = Zotero.Libraries.get(this.userLibraryID));
|
||||
return Zotero.Libraries.get(_userLibraryID);
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue