forgot one line
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@37 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
f2d90fe0d3
commit
979949da7a
|
@ -131,6 +131,7 @@ $(document).ready(function(){
|
|||
var oldbg = elem.css('background');
|
||||
var color = elem.css('background-color');
|
||||
if (color == 'transparent') {
|
||||
color = new $.jPicker.Color({ hex: 'ffffff' });
|
||||
} else {
|
||||
if (color.length == 7 && color[0] == '#') { // #hheexx notation
|
||||
color = new $.jPicker.Color( { hex: color.substring(1,7) } );
|
||||
|
|
Loading…
Reference in New Issue