diff --git a/index.php b/index.php index a13fa5e..212347e 100644 --- a/index.php +++ b/index.php @@ -95,7 +95,10 @@ $config_data = json_decode($raw_json_config, false);
" style="width: 10%; float: left;">

headline ?? "One Word Each Seite"); ?>

- +
diff --git a/owe.js b/owe.js index db53f7c..209be09 100644 --- a/owe.js +++ b/owe.js @@ -85,9 +85,15 @@ function toggleArchives() { if (archives.style.display == "none") { archives.style.display = "flex"; + if (config_data.archive) { + document.getElementById("archive_image").src = config_data.archive.logo_path_open + } return; } archives.style.display = "none"; + if (config_data.archive) { + document.getElementById("archive_image").src = config_data.archive.logo_path_closed + } } function resetUnread() {