From c91e8d6f327e7e7678dd86bc197556b47c984f71 Mon Sep 17 00:00:00 2001 From: Michael Czechowski Date: Fri, 16 Jan 2026 15:25:04 +0100 Subject: [PATCH] fix: make copyright year dynamic in footer --- src/app.js | 5 +++++ src/index.html | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/app.js b/src/app.js index a2a628a..5866f54 100644 --- a/src/app.js +++ b/src/app.js @@ -2448,6 +2448,11 @@ function init() { // Initialize i18n before anything else initI18n(); + // Set dynamic year in footer + document.querySelectorAll(".current-year").forEach((el) => { + el.textContent = new Date().getFullYear(); + }); + loadUserSettings(); // Restore cached lesson content immediately to avoid "Loading..." flash diff --git a/src/index.html b/src/index.html index fa5469f..6784142 100644 --- a/src/index.html +++ b/src/index.html @@ -255,7 +255,7 @@