Fix selectLibrary()
in CollectionTree
if no libraryID
passed
This commit is contained in:
parent
0d2cfef160
commit
cc0687a574
1 changed files with 1 additions and 1 deletions
|
@ -529,7 +529,7 @@ var CollectionTree = class CollectionTree extends LibraryTree {
|
|||
return promise;
|
||||
}
|
||||
|
||||
async selectLibrary(libraryID=0) {
|
||||
async selectLibrary(libraryID = 1) {
|
||||
var row = this.getRowIndexByID('L' + libraryID);
|
||||
if (row === undefined) {
|
||||
Zotero.debug(`CollectionTree.selectLibrary(): library with ID ${libraryID} not found in collection tree`);
|
||||
|
|
Loading…
Reference in a new issue