From fc104e345b59a45a6b69e5ad4a84a0b4037b645a Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 6 Mar 2013 05:28:43 -0500 Subject: [PATCH] Remove color swatch for last-removed tag color --- chrome/content/zotero/xpcom/data/tags.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/data/tags.js b/chrome/content/zotero/xpcom/data/tags.js index 4c6836473..e78f4ff34 100644 --- a/chrome/content/zotero/xpcom/data/tags.js +++ b/chrome/content/zotero/xpcom/data/tags.js @@ -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 {