mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Fix an animation bug on mobile devices on the landing page
This commit is contained in:
@@ -40,8 +40,8 @@ const adjustHeaderWidth = () => {
|
||||
};
|
||||
|
||||
window.addEventListener('load', () => {
|
||||
adjustFooterHeight();
|
||||
adjustHeaderWidth();
|
||||
window.addEventListener('resize', adjustFooterHeight);
|
||||
window.addEventListener('resize', adjustHeaderWidth);
|
||||
adjustFooterHeight();
|
||||
adjustHeaderWidth();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user