diff --git a/editor/svg-editor.js b/editor/svg-editor.js index e54f237f..21dd66a5 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -1673,12 +1673,6 @@ function svg_edit_setup() { var paint = (picker == 'stroke' ? strokePaint : fillPaint); var title = (picker == 'stroke' ? 'Pick a Stroke Paint and Opacity' : 'Pick a Fill Paint and Opacity'); var was_none = false; -// if (paint.type == "none") { -// // if it was none, then set to solid white -// paint = new $.jGraduate.Paint({solidColor: 'ffffff'}); -// was_none = true; -// } - console.dir(paint); var pos = elem.position(); $("#color_picker") .draggable({cancel:'.jPicker_table,.jGraduate_lgPick'}) diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index 210d23b7..741c816d 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -911,7 +911,7 @@ function BatchCommand(text) { // svgthumb.setAttributeNS(xlinkns, 'href', '#svgcontent'); // svgroot.appendChild(svgthumb); - }); + })(); // z-ordered array of tuples containing layer names and elements // the first layer is the one at the bottom of the rendering var all_layers = [],