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