From f90cc0b9a5fcabaee022f4bd5f3051fc0ad0329c Mon Sep 17 00:00:00 2001 From: dimden Date: Tue, 12 Sep 2023 02:54:04 +0300 Subject: [PATCH] update tweet page too --- layouts/tweet/script.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/tweet/script.js b/layouts/tweet/script.js index a5deaa36..90731840 100644 --- a/layouts/tweet/script.js +++ b/layouts/tweet/script.js @@ -352,6 +352,7 @@ async function updateRetweetsWithComments(id, c) { } else { document.getElementById('retweets_with_comments-more').hidden = false; } + document.getElementById('retweets_with_comments-more').innerText = LOC.load_more.message; for(let i in tweetRetweeters) { await appendTweet(tweetRetweeters[i], retweetDiv); @@ -789,6 +790,7 @@ setTimeout(async () => { document.getElementById('retweets_with_comments-more').addEventListener('click', async () => { if(!retweetCommentsCursor) return; let id = location.pathname.match(/status\/(\d{1,32})/)[1]; + document.getElementById('retweets_with_comments-more').innerText = LOC.loading_tweets.message; updateRetweetsWithComments(id, retweetCommentsCursor); });