it works i guess lol

This commit is contained in:
Silas Bartha
2025-03-15 23:42:06 -04:00
parent 6f5a806d24
commit c43ef1cc6e
8 changed files with 2382 additions and 21 deletions

10
blog/public/window.js Normal file
View File

@@ -0,0 +1,10 @@
// Refreshes the page when the browser is resized.
window.addEventListener('resize', function(event) {
if (window.RT) {
clearTimeout(window.RT);
}
window.RT = setTimeout(function() {
window.location.reload(false); /* false to get page from cache */
}, 200);
});