diff --git a/apps/common/main/lib/component/ThemeColorPalette.js b/apps/common/main/lib/component/ThemeColorPalette.js index 4428a80d4..85fd4365d 100644 --- a/apps/common/main/lib/component/ThemeColorPalette.js +++ b/apps/common/main/lib/component/ThemeColorPalette.js @@ -211,7 +211,7 @@ define([ if (!/dynamic-empty-color/.test(target[0].className)) { me.clearSelection(true); target.addClass(me.selectedCls); - if (color && !e.suppressEvent) { + if (!e.suppressEvent) { me.lastSelectedIdx = parseInt(target.attr('idx')); color = target.attr('color'); me.trigger('select', me, color);