diff --git a/merged_calendars/1747d6804ac698c9be34da9d13324fe9.ics b/merged_calendars/1747d6804ac698c9be34da9d13324fe9.ics deleted file mode 100644 index b82bdb7..0000000 --- a/merged_calendars/1747d6804ac698c9be34da9d13324fe9.ics +++ /dev/null @@ -1,30 +0,0 @@ -BEGIN:VCALENDAR -VERSION:2.0 -CALSCALE:GREGORIAN -METHOD:PUBLISH -BEGIN:VEVENT -DTSTART;VALUE=DATE:20240930 -DTEND;VALUE=DATE:20240930 -SUMMARY:work -END:VEVENT -BEGIN:VEVENT -DTSTART;VALUE=DATE:20241003 -DTEND;VALUE=DATE:20241003 -SUMMARY:work -END:VEVENT -BEGIN:VEVENT -DTSTART;VALUE=DATE:20241009 -DTEND;VALUE=DATE:20241009 -SUMMARY:work -END:VEVENT -BEGIN:VEVENT -DTSTART;VALUE=DATE:20241001 -DTEND;VALUE=DATE:20241001 -SUMMARY:Other work -END:VEVENT -BEGIN:VEVENT -DTSTART;VALUE=DATE:20241010 -DTEND;VALUE=DATE:20241010 -SUMMARY:Other work -END:VEVENT -END:VCALENDAR \ No newline at end of file diff --git a/script.js b/script.js index 64a6b6f..81eed0d 100644 --- a/script.js +++ b/script.js @@ -3,7 +3,7 @@ const calendars = document.getElementById('calendars'); const addCalendarButton = document.getElementById('add-calendar'); const result = document.getElementById('result'); -let alendarIndex = 1; +let calendarIndex = 1; // Function to validate URL format function isValidUrl(url) {