Fix empty custom colors
This commit is contained in:
parent
6442c8b619
commit
5b2a65d2cb
|
@ -202,7 +202,7 @@ define([
|
||||||
while (i < this.options.dynamiccolors) {
|
while (i < this.options.dynamiccolors) {
|
||||||
colorEl = el.find('.color-dynamic-'+ i);
|
colorEl = el.find('.color-dynamic-'+ i);
|
||||||
colorEl.removeAttr('color');
|
colorEl.removeAttr('color');
|
||||||
colorEl.addClass('dynamic-empty-color');
|
colorEl.addClass('dynamic-empty-color').addClass(this.emptyColorsClass);
|
||||||
colorEl.find('span').css({
|
colorEl.find('span').css({
|
||||||
'background-color': 'transparent'
|
'background-color': 'transparent'
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue