diff --git a/public/modules/dynamic/editors/states-editor.js b/public/modules/dynamic/editors/states-editor.js index 21c36912..6d93a919 100644 --- a/public/modules/dynamic/editors/states-editor.js +++ b/public/modules/dynamic/editors/states-editor.js @@ -1290,7 +1290,7 @@ function openStateMergeDialog() { const statesSelector = validStates .map( s => /* html */ ` -
+
diff --git a/public/modules/ui/general.js b/public/modules/ui/general.js index 0610e2a6..1849f8a7 100644 --- a/public/modules/ui/general.js +++ b/public/modules/ui/general.js @@ -247,7 +247,7 @@ function showMapTooltip(point, e, i, g) { } function highlightEditorLine(editor, id, timeout = 10000) { - Array.from(editor.getElementsByClassName("states hovered")).forEach(el => el.classList.remove("hovered")); // clear all hovered + Array.from(editor.getElementsByClassName("hovered")).forEach(el => el.classList.remove("hovered")); // clear all hovered const hovered = Array.from(editor.querySelectorAll("div")).find(el => el.dataset.id == id); if (hovered) hovered.classList.add("hovered"); // add hovered class if (timeout)