mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-17 06:20:07 +02:00
In render: added calling callback for gantt functions
This commit is contained in:
@@ -447,6 +447,7 @@ const render = function (id, txt, cb, container) {
|
||||
|
||||
if (typeof cb !== 'undefined') {
|
||||
cb(svgCode, flowDb.bindFunctions)
|
||||
cb(svgCode, ganttDb.bindFunctions)
|
||||
} else {
|
||||
logger.warn('CB = undefined!')
|
||||
}
|
||||
|
Reference in New Issue
Block a user