mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-17 11:14:12 +01: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:
@@ -206,6 +206,7 @@ const render = function(id, _txt, cb, container) {
|
||||
configApi.reset();
|
||||
const siteConfig = getSiteConfig();
|
||||
updateRendererConfigs(siteConfig);
|
||||
reinitialize(siteConfig);
|
||||
}
|
||||
|
||||
const cnf = getConfig();
|
||||
|
||||
Reference in New Issue
Block a user