mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-17 14:29:48 +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') {
|
if (typeof cb !== 'undefined') {
|
||||||
cb(svgCode, flowDb.bindFunctions)
|
cb(svgCode, flowDb.bindFunctions)
|
||||||
|
cb(svgCode, ganttDb.bindFunctions)
|
||||||
} else {
|
} else {
|
||||||
logger.warn('CB = undefined!')
|
logger.warn('CB = undefined!')
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user