diff --git a/index.html b/index.html index 1ff05540..06d62882 100644 --- a/index.html +++ b/index.html @@ -7822,8 +7822,8 @@ - - + + diff --git a/modules/dynamic/editors/cultures-editor.js b/modules/dynamic/editors/cultures-editor.js index 4b5bc788..b5e329ce 100644 --- a/modules/dynamic/editors/cultures-editor.js +++ b/modules/dynamic/editors/cultures-editor.js @@ -630,7 +630,7 @@ function togglePercentageMode() { async function showHierarchy() { if (customization) return; - const HeirarchyTree = await import("../hierarchy-tree.js?v=1.87.00"); + const HeirarchyTree = await import("../hierarchy-tree.js?v=1.87.01"); const getDescription = culture => { const {name, type, rural, urban} = culture; diff --git a/modules/dynamic/editors/religions-editor.js b/modules/dynamic/editors/religions-editor.js index ebd75e18..a76aec30 100644 --- a/modules/dynamic/editors/religions-editor.js +++ b/modules/dynamic/editors/religions-editor.js @@ -533,7 +533,7 @@ function togglePercentageMode() { async function showHierarchy() { if (customization) return; - const HeirarchyTree = await import("../hierarchy-tree.js?v=1.87.00"); + const HeirarchyTree = await import("../hierarchy-tree.js?v=1.87.01"); const getDescription = religion => { const {name, type, form, rural, urban} = religion; diff --git a/modules/dynamic/hierarchy-tree.js b/modules/dynamic/hierarchy-tree.js index 6cd25f0e..621f4427 100644 --- a/modules/dynamic/hierarchy-tree.js +++ b/modules/dynamic/hierarchy-tree.js @@ -26,7 +26,7 @@ let getDescription; // dataElement => string let getShape; // dataElement => string; export function open(props) { - closeDialogs(".stable"); + closeDialogs("#hierarchyTree, .stable"); dataElements = props.data; dataElements[0].origins = [null]; @@ -145,7 +145,7 @@ function appendStyleSheet() { } function insertHtml() { - const html = /* html */ `