Add footer

This commit is contained in:
Dominic Ferrando
2025-04-23 22:07:16 -04:00
parent 71466e8f53
commit f04db77087
5 changed files with 27 additions and 7 deletions
+4
View File
@@ -13,6 +13,10 @@ function isOffScreen(el) {
);
}
function scrollToBottom() {
window.scrollTo({ top: document.body.scrollHeight, behavior: 'smooth' });
}
function isHttpWarningStatus(code) {
const warningStatuses = [429, 400, 413];
return warningStatuses.includes(code);