mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
Fixed a new config issue
Diagrams now properly reset to siteConfig when there are multiple diagrams on a single page
This commit is contained in:
parent
1fc142a59f
commit
43d37ab1cf
@ -206,6 +206,7 @@ const render = function(id, _txt, cb, container) {
|
||||
configApi.reset();
|
||||
const siteConfig = getSiteConfig();
|
||||
updateRendererConfigs(siteConfig);
|
||||
reinitialize(siteConfig);
|
||||
}
|
||||
|
||||
const cnf = getConfig();
|
||||
|
Loading…
x
Reference in New Issue
Block a user