Clear href when no calendars selected
This commit is contained in:
parent
79dcef9b7f
commit
845a2d377c
|
@ -63,8 +63,11 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
icalLink.disabled = false;
|
||||||
if (hasAll) {
|
if (hasAll) {
|
||||||
icalLink.href = baseICalUrl;
|
icalLink.href = baseICalUrl;
|
||||||
|
} else if (icalFilter.length == 0) {
|
||||||
|
icalLink.removeAttribute("href");
|
||||||
} else {
|
} else {
|
||||||
icalFilter.sort();
|
icalFilter.sort();
|
||||||
let url = new URL(baseICalUrl);
|
let url = new URL(baseICalUrl);
|
||||||
|
|
Loading…
Reference in New Issue