Fixed Chrome showing empty 'Settings' UI section.
This commit is contained in:
parent
a08a550c8e
commit
a3f6eef52b
|
|
@ -2,6 +2,7 @@
|
||||||
- Added [ALT]+[UP]/[DOWN] for volume control on MacOS.
|
- Added [ALT]+[UP]/[DOWN] for volume control on MacOS.
|
||||||
- Fixed an exception when any of the markers fail to load.
|
- Fixed an exception when any of the markers fail to load.
|
||||||
- Fixed call arrows remaining after locator display disabled.
|
- Fixed call arrows remaining after locator display disabled.
|
||||||
|
- Fixed Chrome showing empty "Settings" UI section.
|
||||||
- Blocked keyboard shortcuts until settings are loaded.
|
- Blocked keyboard shortcuts until settings are loaded.
|
||||||
- Sorted digital modes inside combo box (by Richard Murnane).
|
- Sorted digital modes inside combo box (by Richard Murnane).
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@ openwebrx (1.2.69) bullseye jammy; urgency=low
|
||||||
* Added [ALT]+[UP]/[DOWN] for volume control on MacOS.
|
* Added [ALT]+[UP]/[DOWN] for volume control on MacOS.
|
||||||
* Fixed an exception when any of the markers fail to load.
|
* Fixed an exception when any of the markers fail to load.
|
||||||
* Fixed call arrows remaining after locator display disabled.
|
* Fixed call arrows remaining after locator display disabled.
|
||||||
|
* Fixed Chrome showing empty "Settings" UI section.
|
||||||
* Blocked keyboard shortcuts until settings are loaded.
|
* Blocked keyboard shortcuts until settings are loaded.
|
||||||
* Sorted digital modes inside combo box (by Richard Murnane).
|
* Sorted digital modes inside combo box (by Richard Murnane).
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -179,6 +179,10 @@ UI.toggleSection = function(el, on) {
|
||||||
if ((next_el.classList.contains('closed')) && (toggle || on)) {
|
if ((next_el.classList.contains('closed')) && (toggle || on)) {
|
||||||
el.innerHTML = el.innerHTML.replace('\u25B4', '\u25BE');
|
el.innerHTML = el.innerHTML.replace('\u25B4', '\u25BE');
|
||||||
next_el.classList.remove('closed');
|
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);
|
LS.save(el.id, true);
|
||||||
} else if (toggle || !on) {
|
} else if (toggle || !on) {
|
||||||
el.innerHTML = el.innerHTML.replace('\u25BE', '\u25B4');
|
el.innerHTML = el.innerHTML.replace('\u25BE', '\u25B4');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue