diff --git a/apps/app/src/api/ads-init.js b/apps/app/src/api/ads-init.js index 98871c3f0b..b4753200aa 100644 --- a/apps/app/src/api/ads-init.js +++ b/apps/app/src/api/ads-init.js @@ -661,6 +661,7 @@ window.modrinthAdsReopenConsentPreferences = async () => { sendAdsConsentCommandToChildFrames({ type: 'prepare' }) try { + await waitForAdsConsentLayout() await expandAdsConsentWebview() await waitForAdsConsentLayout() revealAdsConsentPreferences()