diff --git a/src/svgcanvas/path-actions.js b/src/svgcanvas/path-actions.js index d8a07faa..e91a0875 100644 --- a/src/svgcanvas/path-actions.js +++ b/src/svgcanvas/path-actions.js @@ -861,7 +861,7 @@ export const pathActionsMethod = (function () { const pathpointgripContainer = getElem('pathpointgrip_container'); const elements = pathpointgripContainer.querySelectorAll('*'); Array.prototype.forEach.call(elements, function(el){ - el.style.display = 'none'; + el.setAttribute('display', 'none'); }); firstCtrl = null; editorContext_.setDrawnPath(null);