diff --git a/apps/common/main/lib/component/ThemeColorPalette.js b/apps/common/main/lib/component/ThemeColorPalette.js index ca9d939c9..bd64690a3 100644 --- a/apps/common/main/lib/component/ThemeColorPalette.js +++ b/apps/common/main/lib/component/ThemeColorPalette.js @@ -208,7 +208,7 @@ define([ var target = $(e.target).closest('a'); var color, cmp; - if (target.length==0) return; + if (target.length==0) return false; if (target.hasClass('color-transparent') ) { me.clearSelection(true);