mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-21 17:26:45 +02:00
Fixing the binding function error
This commit is contained in:
@@ -44,7 +44,7 @@ const contentLoadedApi = function() {
|
|||||||
(svgCode, bindFunctions) => {
|
(svgCode, bindFunctions) => {
|
||||||
div.innerHTML = svgCode;
|
div.innerHTML = svgCode;
|
||||||
|
|
||||||
bindFunctions(div);
|
if (bindFunctions) bindFunctions(div);
|
||||||
},
|
},
|
||||||
div
|
div
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user