mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Website: update animation on homepage image. (#15147)
Changes: - Updated the animation in the "ClickOps or DevOps" section of the homepage to only animate once.
This commit is contained in:
parent
61a0dd4937
commit
cb75ea9274
1 changed files with 0 additions and 3 deletions
3
website/assets/js/pages/homepage.page.js
vendored
3
website/assets/js/pages/homepage.page.js
vendored
|
|
@ -53,9 +53,6 @@ parasails.registerPage('homepage', {
|
|||
{
|
||||
// When the image is completly in the user's viewport, add the 'animate' class to it.
|
||||
imageToAnimate.classList.add('animate');
|
||||
} else if(imageToAnimate.classList.contains('animate')) {
|
||||
// When it is no longer in the user's viewport, remove the 'animate' class if it has it.
|
||||
imageToAnimate.classList.remove('animate');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue