diff --git a/CHANGELOG.md b/CHANGELOG.md index aae70cd8..1da40807 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ - Added [ALT]+[UP]/[DOWN] for volume control on MacOS. - Fixed an exception when any of the markers fail to load. - Fixed call arrows remaining after locator display disabled. +- Fixed Chrome showing empty "Settings" UI section. - Blocked keyboard shortcuts until settings are loaded. - Sorted digital modes inside combo box (by Richard Murnane). diff --git a/debian/changelog b/debian/changelog index 6ecad527..b7e7e025 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,7 @@ openwebrx (1.2.69) bullseye jammy; urgency=low * Added [ALT]+[UP]/[DOWN] for volume control on MacOS. * Fixed an exception when any of the markers fail to load. * Fixed call arrows remaining after locator display disabled. + * Fixed Chrome showing empty "Settings" UI section. * Blocked keyboard shortcuts until settings are loaded. * Sorted digital modes inside combo box (by Richard Murnane). diff --git a/htdocs/lib/UI.js b/htdocs/lib/UI.js index ea199f61..4575dc4e 100644 --- a/htdocs/lib/UI.js +++ b/htdocs/lib/UI.js @@ -179,6 +179,10 @@ UI.toggleSection = function(el, on) { if ((next_el.classList.contains('closed')) && (toggle || on)) { el.innerHTML = el.innerHTML.replace('\u25B4', '\u25BE'); next_el.classList.remove('closed'); + // Force a redraw in Chrome to avoid blank UI when + // opening a section that was closed to begin with + next_el.style.display = 'none'; + next_el.style.display = 'block'; LS.save(el.id, true); } else if (toggle || !on) { el.innerHTML = el.innerHTML.replace('\u25BE', '\u25B4');