Fix custom color
This commit is contained in:
parent
97f7323392
commit
1c3224eeeb
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue