Componentalization
This commit is contained in:
@@ -209,7 +209,7 @@ const initLoadingAnimations = (): void => {
|
|||||||
|
|
||||||
if (heroTitle) {
|
if (heroTitle) {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
// force reflow (safe) then add class to trigger transition
|
// force reflow (safe), then add class to trigger transition
|
||||||
void heroTitle.offsetWidth;
|
void heroTitle.offsetWidth;
|
||||||
heroTitle.classList.add('is-visible');
|
heroTitle.classList.add('is-visible');
|
||||||
}, 500);
|
}, 500);
|
||||||
|
|||||||
Reference in New Issue
Block a user