mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-16 13:59:54 +02:00
Beta fix for binding of click events when using the render function as discussed in issue #188. (Try num 2)
This commit is contained in:
2
dist/mermaid.js
vendored
2
dist/mermaid.js
vendored
@@ -32203,7 +32203,7 @@ var render = function(id, txt, cb, container){
|
||||
}
|
||||
|
||||
if(typeof cb !== 'undefined'){
|
||||
cb(d3.select('#d'+id).node().innerHTML);
|
||||
cb(d3.select('#d'+id).node().innerHTML,graph.bindFunctions);
|
||||
}else{
|
||||
|
||||
log.warn('CB = undefined');
|
||||
|
Reference in New Issue
Block a user