diff --git a/public_html/js/Controls/TagInput.js b/public_html/js/Controls/TagInput.js index 5a71b1b4..deeabc23 100644 --- a/public_html/js/Controls/TagInput.js +++ b/public_html/js/Controls/TagInput.js @@ -182,6 +182,8 @@ App.Controls.TagInput = function($underlyingInput) { flashTagYellow(impliedTagName); }); showOrHideSuggestions(tag.suggestions); + } else { + flashTagGreen(tagName); } } @@ -223,6 +225,10 @@ App.Controls.TagInput = function($underlyingInput) { flashTag(tagName, 'rgba(255, 255, 200, 1)'); } + function flashTagGreen(tagName) { + flashTag(tagName, 'rgba(200, 255, 200, 1)'); + } + function flashTag(tagName, color) { var $elem = getListElement(tagName); $elem.css({backgroundColor: color});