Fixing issue with multiple SVG elements being rendered at once
This commit is contained in:
parent
24971eb09f
commit
66836e0552
@ -35,7 +35,7 @@ export default class Parser {
|
||||
render(containerElement, svgBase) {
|
||||
var svg;
|
||||
|
||||
containerElement.innerHTML += svgBase;
|
||||
containerElement.innerHTML = svgBase;
|
||||
|
||||
svg = Snap(containerElement.querySelector('svg'));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user