From d1eaeeb3f38c275eb276fd4b9f269f28cd73e582 Mon Sep 17 00:00:00 2001 From: Bingus_Violet Date: Thu, 30 Nov 2023 22:41:34 -0600 Subject: [PATCH] asd --- index.js | 4 ++-- static/socials/index.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 2d72b4f..b4460c5 100644 --- a/index.js +++ b/index.js @@ -226,7 +226,7 @@ function mastoUpdate() { var newHTML = `
` - for (let index = 0; index < posts.length; index++) { + for (let index = 0; index < Math.min(posts.length, 7); index++) { const post = posts[index]; newHTML += `
` newHTML += `` @@ -235,7 +235,7 @@ function mastoUpdate() { newHTML += `

` } - mastoData.HTML = `


Mastodon Posts:

` + newHTML + "
" + mastoData.HTML = `


Mastodon Posts:

` + newHTML + "" + `
See more on Mastodon` pageUpdate() }) diff --git a/static/socials/index.html b/static/socials/index.html index 28f5670..39f48af 100644 --- a/static/socials/index.html +++ b/static/socials/index.html @@ -20,7 +20,7 @@ Home


Socials

Here's where you can find me most... if you wanted to do that for some reason?

-
+