mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 23:09:49 +02:00
Fix typo
This commit is contained in:

committed by
GitHub

parent
3b571fc9b3
commit
b79eaae002
@@ -171,7 +171,7 @@ const render = function (
|
||||
.append('g');
|
||||
} else {
|
||||
// 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
|
||||
const existingSvg = document.getElementById(id);
|
||||
if (existingSvg) {
|
||||
|
Reference in New Issue
Block a user