diff --git a/core/toolbox/category.js b/core/toolbox/category.js index 04430653d..286be4011 100644 --- a/core/toolbox/category.js +++ b/core/toolbox/category.js @@ -424,7 +424,7 @@ ToolboxCategory.prototype.parseColour_ = function(colourValue) { // Decode the colour for any potential message references // (eg. `%{BKY_MATH_HUE}`). const colour = parsing.replaceMessageReferences(colourValue); - if (colour === null || colour === '') { + if (colour == null || colour === '') { // No attribute. No colour. return ''; } else {