diff --git a/static/app.js b/static/app.js index 79eb23e..43a0ac4 100644 --- a/static/app.js +++ b/static/app.js @@ -116,7 +116,7 @@ function selectVoice(wrap) { ${makeStars(rating)} ${rating}/5 - +
@@ -249,20 +249,71 @@ function selectVoice(wrap) { }); genderSel?.addEventListener('change', () => applyGender(genderSel.value)); - // ── Tag input with reuse list ───────────────────────────────────────────── + // ── Tag input — comma-separated, autocomplete from DB + localStorage ──────── const tagInput = inspector.querySelector('.insp-tag-input'); - let _tagDl = document.getElementById('insp-tag-opts'); - if (!_tagDl) { _tagDl = document.createElement('datalist'); _tagDl.id = 'insp-tag-opts'; document.body.appendChild(_tagDl); } - _tagDl.innerHTML = getStoredTags().map(t => `