From 979949da7a3972dcfe5071898ce8532aaa84151c Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Fri, 5 Jun 2009 14:05:28 +0000 Subject: [PATCH] forgot one line git-svn-id: http://svg-edit.googlecode.com/svn/trunk@37 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svg-editor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/svg-editor.js b/editor/svg-editor.js index c697c31a..b2a54afd 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -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) } );