Fix an animation bug on mobile devices on the landing page

This commit is contained in:
Chris Wilson
2020-12-04 23:00:06 -05:00
parent a9a44036a9
commit 64b5b28d47
4 changed files with 5 additions and 50 deletions

View File

@@ -40,8 +40,8 @@ const adjustHeaderWidth = () => {
};
window.addEventListener('load', () => {
adjustFooterHeight();
adjustHeaderWidth();
window.addEventListener('resize', adjustFooterHeight);
window.addEventListener('resize', adjustHeaderWidth);
adjustFooterHeight();
adjustHeaderWidth();
});