Skip to content

Commit

Permalink
fix threadline
Browse files Browse the repository at this point in the history
  • Loading branch information
dimdenGD committed Sep 28, 2023
1 parent c95521b commit 80152dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 80152dd

Please sign in to comment.