diff --git a/src/octoprint/plugins/svgtogcode/static/js/working_area.js b/src/octoprint/plugins/svgtogcode/static/js/working_area.js index 3aafd98a..f6e370e8 100644 --- a/src/octoprint/plugins/svgtogcode/static/js/working_area.js +++ b/src/octoprint/plugins/svgtogcode/static/js/working_area.js @@ -253,6 +253,9 @@ $(function(){ clipPathEl.remove() } + // find all elements with "display=none" and remove them + f.selectAll("[display=none]").remove() + // iterate svg tag attributes for(var i = 0; i < root_attrs.length; i++){ var attr = root_attrs[i];