From 7ddcc992aa9c2f95a151f1d58943d4ca47873006 Mon Sep 17 00:00:00 2001 From: Marat Fayzullin Date: Mon, 3 Apr 2023 00:02:58 -0400 Subject: [PATCH] Adding arrows to the section dividers. --- htdocs/index.html | 6 +++--- htdocs/openwebrx.js | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/htdocs/index.html b/htdocs/index.html index fea82498..fbcbee65 100644 --- a/htdocs/index.html +++ b/htdocs/index.html @@ -190,11 +190,11 @@ -
Modes
+
▾Modes
-
Controls
+
▾Controls
@@ -242,7 +242,7 @@
-
Range
+
▾Range
diff --git a/htdocs/openwebrx.js b/htdocs/openwebrx.js index 9210cc80..0d8a7eea 100644 --- a/htdocs/openwebrx.js +++ b/htdocs/openwebrx.js @@ -45,8 +45,10 @@ function toggleSection(el) { var next_el = el.nextElementSibling; if (next_el) { if (next_el.style.display === "none") { + el.innerHTML = el.innerHTML.replace("\u25B4", "\u25BE"); next_el.style.display = "block"; } else { + el.innerHTML = el.innerHTML.replace("\u25BE", "\u25B4"); next_el.style.display = "none"; } }