diff --git a/public/core/sun-safe.js b/public/core/sun-safe.js index 7f8896f..7ead66e 100644 --- a/public/core/sun-safe.js +++ b/public/core/sun-safe.js @@ -20,4 +20,14 @@ return node; }; window.SunSafe=Object.freeze({escapeHTML,escapeAttr,idToken,safeImageSrc,setText,insertBefore}); -})(); + + // Small bootstrap for account/profile UI. Keeping it here makes the account + // center available on every Caterium screen without touching the legacy monolith. + if(!document.getElementById('cateriumAccountCenterV1780Script')){ + const script=document.createElement('script'); + script.id='cateriumAccountCenterV1780Script'; + script.src='core/account-center-v1780.js?v=20260912-v17-8-0-account-center-2'; + script.async=true; + document.head.appendChild(script); + } +})(); \ No newline at end of file