diff --git a/editor/svg-editor.js b/editor/svg-editor.js index 53db0201..0f4ce8ce 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -263,9 +263,7 @@ function svg_edit_setup() { var changeStrokeWidth = function(ctl) { var val = ctl.value; if(val == 0 && selectedElement && $.inArray(selectedElement.nodeName, ['line', 'polyline']) != -1) { - console.log('1'); - val = 1; - ctl.value = 1; + val = ctl.value = 1; } svgCanvas.setStrokeWidth(val); }