Remove libraryID
parameter from Zotero.Tags.toggleItemsListTags()
No longer used
This commit is contained in:
parent
d8b5f30504
commit
e64273fb93
2 changed files with 3 additions and 3 deletions
|
@ -720,7 +720,7 @@ Zotero.Tags = new function() {
|
|||
});
|
||||
|
||||
|
||||
this.toggleItemsListTags = Zotero.Promise.coroutine(function* (libraryID, items, tagName) {
|
||||
this.toggleItemsListTags = async function (items, tagName) {
|
||||
if (!items.length) {
|
||||
return;
|
||||
}
|
||||
|
@ -754,7 +754,7 @@ Zotero.Tags = new function() {
|
|||
}
|
||||
}
|
||||
}.bind(this));
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -207,7 +207,7 @@ Zotero.ItemTreeView.prototype.setTree = async function (treebox) {
|
|||
}
|
||||
|
||||
var items = self.getSelectedItems();
|
||||
yield Zotero.Tags.toggleItemsListTags(libraryID, items, colorData.name);
|
||||
yield Zotero.Tags.toggleItemsListTags(items, colorData.name);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue