mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
Fixing the binding function error
This commit is contained in:
parent
061a02dddc
commit
5b5be40dd5
@ -44,7 +44,7 @@ const contentLoadedApi = function() {
|
||||
(svgCode, bindFunctions) => {
|
||||
div.innerHTML = svgCode;
|
||||
|
||||
bindFunctions(div);
|
||||
if (bindFunctions) bindFunctions(div);
|
||||
},
|
||||
div
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user