Skip to content

Commit

Permalink
style optimizations & timeline improvement & tweet fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dimdenGD committed Jul 19, 2022
1 parent 5e2d583 commit d0643b2
Show file tree
Hide file tree
Showing 8 changed files with 2,543 additions and 1,745 deletions.
4 changes: 3 additions & 1 deletion layouts/home/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -1007,6 +1007,8 @@ document.addEventListener('scroll', async () => {
if(!vars.chronologicalTL) {
algoCursor = tl.cursor;
tl = tl.list
} else {
tl = tl.slice(1);
}
} catch (e) {
console.error(e);
Expand All @@ -1022,7 +1024,7 @@ document.addEventListener('scroll', async () => {
}
setTimeout(() => {
lastTweet.scrollIntoView({
behavior: 'smooth'
block: 'center'
});
setTimeout(() => {
loadingNewTweets = false;
Expand Down
Loading

0 comments on commit d0643b2

Please sign in to comment.