diff --git a/script.js b/script.js index 4b9ff1d..4031985 100644 --- a/script.js +++ b/script.js @@ -150,7 +150,7 @@ const displayPost = function(post) { const processPosts = function(posts) { posts = posts.filter((post) => { - return secondsAgo(new Date(post.created_at)) < maxAge && post.content.indexOf("nitter.") === -1 + return secondsAgo(new Date(post.created_at)) < maxAge && post.content.indexOf("nitter.") === -1 && post.spoiler_text === "" }); return posts;