提交 51cc1f96 编写于 作者: C Catouse

* fix error in colorPicker on update color to other elements by set default value to empty string.

上级 3623cb7c
......@@ -144,7 +144,7 @@
ColorPicker.prototype.setValue = function(color, notSetInput) {
var options = this.options;
this.$menu.find('.cp-tile.active').removeClass('active');
var hex = null;
var hex = '';
if(color) {
var c = new $.zui.Color(color);
hex = c.toCssStr().toLowerCase();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册