mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-18 11:44:07 +01:00
Fix typo
This commit is contained in:
committed by
GitHub
parent
3b571fc9b3
commit
b79eaae002
@@ -171,7 +171,7 @@ const render = function (
|
|||||||
.append('g');
|
.append('g');
|
||||||
} else {
|
} else {
|
||||||
// No container was provided
|
// No container was provided
|
||||||
// If there is an existsing element with the id, we remove it
|
// If there is an existing element with the id, we remove it
|
||||||
// this likely a previously rendered diagram
|
// this likely a previously rendered diagram
|
||||||
const existingSvg = document.getElementById(id);
|
const existingSvg = document.getElementById(id);
|
||||||
if (existingSvg) {
|
if (existingSvg) {
|
||||||
|
|||||||
Reference in New Issue
Block a user