mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-16 13:59:54 +02: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') {
|
||||
callback(id)
|
||||
}
|
||||
bindFunctions(element)
|
||||
if (bindFunctions) bindFunctions(element)
|
||||
}, element)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user