diff --git a/static/index.html b/static/index.html index eb2225f..7b505e5 100644 --- a/static/index.html +++ b/static/index.html @@ -3352,6 +3352,15 @@ ).join(''); } + function initKeyBadges() { + loadBadgeChecklist(); + // Add a default key entry if the list is empty + const list = document.getElementById('manKeysList'); + if (list && list.children.length === 0) { + addKeyEntry(); + } + } + function toggleBadge(el) { el.classList.toggle('checked'); el.querySelector('input').checked = el.classList.contains('checked');