()
| 194 | |
| 195 | // -------------------- header (icon+modal) -------------------- |
| 196 | function saveHeaderOrder() { |
| 197 | const host = getHeaderDropArea(); |
| 198 | if (!host) return; |
| 199 | const order = Array.from(host.children).map(btn => btn.cardElement?.id).filter(Boolean); |
| 200 | localStorage.setItem('headerOrder', JSON.stringify(order)); |
| 201 | } |
| 202 | |
| 203 | function removeHeaderIconForCard(card) { |
| 204 | if (!card || !card.headerIconButton) return; |
no test coverage detected