From 80152dd7779063e0f3a0a5e05003fafe5431fa05 Mon Sep 17 00:00:00 2001 From: dimden Date: Thu, 28 Sep 2023 22:25:25 +0300 Subject: [PATCH] fix threadline --- scripts/helpers.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/helpers.js b/scripts/helpers.js index 5a3cb754..494b6a87 100644 --- a/scripts/helpers.js +++ b/scripts/helpers.js @@ -3388,6 +3388,7 @@ async function appendTweet(t, timelineContainer, options = {}) { if(!options.after.classList.contains('tweet-main')) options.after.getElementsByClassName('tweet-interact-reply')[0].innerText = (+options.after.getElementsByClassName('tweet-interact-reply')[0].innerText - 1).toString(); else options.after.getElementsByClassName('tweet-footer-stat-replies')[0].innerText = (+options.after.getElementsByClassName('tweet-footer-stat-replies')[0].innerText - 1).toString(); } + if(typeof fixTweetThreadLine !== 'undefined') setTimeout(fixTweetThreadLine, 100); }); if(tweetInteractMoreMenuPin) tweetInteractMoreMenuPin.addEventListener('click', async () => { if(pinnedTweet && pinnedTweet.id_str === t.id_str) {