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:
1 parent
cd6cd44813
commit
72e8f47989
1 file changed
+3
@@ -15,5 +15,8 @@
|
|||||||
apply();
|
apply();
|
||||||
var b = document.getElementById("theme");
|
var b = document.getElementById("theme");
|
||||||
if (b) b.addEventListener("click", function () { try { localStorage.setItem(K, dark() ? "light" : "dark"); } catch (e) { /* this time only */ } apply(); });
|
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(); });
|
||||||
});
|
});
|
||||||
})();
|
})();
|
||||||
Reference in new issue
Block a user