User:Peterxy12/js/Usergroup.js: Difference between revisions

From Test Wiki
Content deleted Content added
Created page with " function makeBadge(groups) { if (!groups?.length) return null; const container = document.createElement('sup'); container.style.cssText = 'font-size:85%;vertical-align:super;margin-left:2px;line-height:1;'; groups.sort((a, b) => GROUP_ORDER.indexOf(a) - GROUP_ORDER.indexOf(b)) .forEach((g, i) => { const cfg = USER_GROUPS[g]; if (!cfg) return; const span = document.createElemen..."
Tags: Mobile edit Mobile web edit
 
(No difference)