web/website/integrations/clans/clan-shell.js
unimatrixgit 77cdf19faa Checkpoint Alpha 1.0.0.3 graphical menus and moderation evidence
Preserve the current Alpha source and artwork snapshot. See handoff/alpha-1.0.0.3 for actual deployed hashes, checks, staged follow-ups and the production pause. This checkpoint does not claim every source feature is deployed.
2026-11-02 00:05:34 +01:00

2 lines
383 B
JavaScript

const workspace=document.getElementById('clan-workspace');
window.addEventListener('message',event=>{if(event.origin!=='https://cp.dunerealms.com'||event.source!==workspace?.contentWindow||event.data?.type!=='dunerealms-clan-height')return;const height=Number(event.data.height);if(Number.isFinite(height)&&height>=300&&height<=30000)workspace.height=String(Math.ceil(height)+4);});