diff --git a/script.js b/script.js index a6ba8e0..f07f084 100644 --- a/script.js +++ b/script.js @@ -23,8 +23,9 @@ const form = document.getElementById('merge-form'); const calendarsData = []; for (let i = 0; i < calendarIndex; i++) { const prefix = document.getElementById(`prefix-${i}`).value; + const override = document.getElementById(`override-${i}`).checked; const url = document.getElementById(`url-${i}`).value; - calendarsData.push({ prefix, url }); + calendarsData.push({ prefix, override, url }); } fetch('/merge', { method: 'POST',