diff --git a/src/js/parser/javascript.js b/src/js/parser/javascript.js index 856c159..8f67cd9 100644 --- a/src/js/parser/javascript.js +++ b/src/js/parser/javascript.js @@ -35,7 +35,7 @@ export default class Parser { render(containerElement, svgBase) { var svg; - containerElement.innerHTML += svgBase; + containerElement.innerHTML = svgBase; svg = Snap(containerElement.querySelector('svg'));