fix: animation jumping

This commit is contained in:
Ash Monty
2021-12-12 20:51:59 +01:00
parent 135ba1064d
commit 1beba945c3
3 changed files with 12 additions and 28 deletions

View File

@@ -28,10 +28,10 @@ router.get('/', async (request, response) => {
const specialThanksFirstRow = specialThanksPeople.slice(0, 3);
const specialThanksSecondRow = specialThanksPeople.slice(3, 6);
// Builds the final array to be sent to the view, and duplicates each row.
// Builds the final array to be sent to the view, and triples each row.
specialThanksPeople = {
first: specialThanksFirstRow.concat(specialThanksFirstRow),
second: specialThanksSecondRow.concat(specialThanksSecondRow)
first: specialThanksFirstRow.concat(specialThanksFirstRow).concat(specialThanksFirstRow),
second: specialThanksSecondRow.concat(specialThanksSecondRow).concat(specialThanksFirstRow)
};
response.render('home', {