Remove libraryID parameter from Zotero.Tags.toggleItemsListTags()

No longer used
This commit is contained in:
Dan Stillman 2019-10-26 15:39:22 -04:00
parent d8b5f30504
commit e64273fb93
2 changed files with 3 additions and 3 deletions

View file

@ -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));
});
};
/**

View file

@ -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;
}