mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-17 19:24:10 +01:00
Fix for issue with bindFunctions being called when there are none.
This commit is contained in:
@@ -98,7 +98,7 @@ const init = function () {
|
|||||||
if (typeof callback !== 'undefined') {
|
if (typeof callback !== 'undefined') {
|
||||||
callback(id)
|
callback(id)
|
||||||
}
|
}
|
||||||
bindFunctions(element)
|
if (bindFunctions) bindFunctions(element)
|
||||||
}, element)
|
}, element)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user