Allow users to return to "Automatic" colour scheme. #102

This commit is contained in:
Ian Renton
2026-01-30 17:12:57 +00:00
parent edb8dd5e0e
commit 721d345332
8 changed files with 96 additions and 85 deletions

View File

@@ -110,12 +110,6 @@ function filtersUpdated() {
saveSettings();
}
// Function to set dark mode based on the state of the UI toggle in spots, bands and map pages
function toggleDarkMode() {
enableDarkMode($("#darkMode")[0].checked);
saveSettings();
}
// Function to update the band colour scheme in spots, bands and map pages
function setBandColorSchemeFromUI() {
setBandColorScheme($("#band-color-scheme option:selected").val());