diff --git a/public/app.js b/public/app.js index 79903a4..251d3c2 100644 --- a/public/app.js +++ b/public/app.js @@ -388,7 +388,7 @@ function populateSelects() { ['Acte'].forEach(name => { const sel = document.getElementById(`f-${name.toLowerCase()}`); if (!sel || !columns[name]) return; - while (sel.options.length > 1) sel.remove(1); + sel.innerHTML = ''; columns[name].options.forEach(o => { const opt = document.createElement('option'); opt.value = o; opt.textContent = o; diff --git a/public/index.html b/public/index.html index d86581c..a58d66c 100644 --- a/public/index.html +++ b/public/index.html @@ -286,8 +286,8 @@ window.dispatchEvent(new Event('tiptap-loaded'));