Commit 3ba170a0 authored by techird's avatar techird

Merge branch 'dev' of https://github.com/kitygraph/kityminder into gh-pages

parents ed06e440 d44dd094
......@@ -151,7 +151,10 @@ KM.registerUI( 'forecolor', function ( name ) {
name: name,
title: this.getLang( 'tooltips' )[ name ] || '',
click: function () {
me.execCommand( name, getCurrentColor() );
var color = kity.Color.parse(getCurrentColor()).toHEX();
if(!color == '#000000'){
me.execCommand( name, color );
}
}
} );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment