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:
chris moran 2020-07-27 08:54:45 -04:00
parent 1fc142a59f
commit 43d37ab1cf
No known key found for this signature in database
GPG Key ID: 7E303019E6BB02D7

View File

@ -206,6 +206,7 @@ const render = function(id, _txt, cb, container) {
configApi.reset();
const siteConfig = getSiteConfig();
updateRendererConfigs(siteConfig);
reinitialize(siteConfig);
}
const cnf = getConfig();