forked from ryanmwangi/CalMerger
spell calendarIndex correctly
This commit is contained in:
parent
ccc8847713
commit
2c99ea1209
|
@ -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
|
|
|
@ -3,7 +3,7 @@ const calendars = document.getElementById('calendars');
|
||||||
const addCalendarButton = document.getElementById('add-calendar');
|
const addCalendarButton = document.getElementById('add-calendar');
|
||||||
const result = document.getElementById('result');
|
const result = document.getElementById('result');
|
||||||
|
|
||||||
let alendarIndex = 1;
|
let calendarIndex = 1;
|
||||||
|
|
||||||
// Function to validate URL format
|
// Function to validate URL format
|
||||||
function isValidUrl(url) {
|
function isValidUrl(url) {
|
||||||
|
|
Loading…
Reference in New Issue