Havre: the reload link reloads, again (a refresh run had reverted it)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VAvUH72XsdCitHdh3t7mjr
This commit is contained in:
teahubxyzandClaude Fable 5.1 committed 2026-10-20 03:51:53 +00:00
1 parent cd6cd44813
commit 72e8f47989
1 file changed
+3
+3
View File
@@ -15,5 +15,8 @@
apply();
var b = document.getElementById("theme");
if (b) b.addEventListener("click", function () { try { localStorage.setItem(K, dark() ? "light" : "dark"); } catch (e) { /* this time only */ } apply(); });
// installed as an app there's no address bar and no pull to refresh: this is the way to the latest Havre
var r = document.getElementById("reload");
if (r) r.addEventListener("click", function () { r.textContent = "reloading…"; location.reload(); });
});
})();