Don't clear other tag colors when rename colored tag

This commit is contained in:
Dan Stillman 2013-03-14 19:00:52 -04:00
parent e68f87fc83
commit e20bd35756

View file

@ -517,6 +517,7 @@ Zotero.Tags = new function() {
// Just to be safe, remove colors for tags that don't exist
tagColors = tagColors.filter(function (val) {
let tagIDs = self.getIDs(val.name, libraryID);
// TEMP: handle future getIDs return format change
return tagIDs && tagIDs.length;
});