Remove color swatch for last-removed tag color

This commit is contained in:
Dan Stillman 2013-03-06 05:28:43 -05:00
parent 0a7cc44481
commit fc104e345b

View File

@ -603,7 +603,7 @@ Zotero.Tags = new function() {
}
let id = libraryID + "/" + setting;
if (event == 'modify' && extraData[id].changed) {
if ((event == 'modify' || event == 'delete') && extraData[id].changed) {
var previousTagColors = extraData[id].changed.value;
}
else {