This commit is contained in:
CJSatnarine
2025-03-15 23:14:24 -04:00
parent 955979513e
commit 6f5a806d24
16 changed files with 2540 additions and 3 deletions

10
blog/static/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);
});