Fix getAsync() integer warning when highlighting item collections

This commit is contained in:
Dan Stillman 2017-06-20 05:39:26 -04:00
parent f3b461ae1d
commit 041f79379c

View File

@ -656,8 +656,7 @@ Zotero.CollectionTreeView.prototype.setHighlightedRows = Zotero.Promise.coroutin
// Make sure all highlighted collections are shown
for (let id of ids) {
if (id[0] == 'C') {
id = id.substr(1);
yield this.expandToCollection(id);
yield this.expandToCollection(parseInt(id.substr(1)));
}
}