prevent non filles side from reaching anchor
parent
1f08fb74b0
commit
750388e67c
|
@ -1,6 +1,6 @@
|
||||||
<div class="side-calendar">
|
<div class="side-calendar">
|
||||||
<h2>Termine</h2>
|
<h2>Termine</h2>
|
||||||
<ul id="calendar">
|
<ul id="calendar" class="loading">
|
||||||
<br>
|
<br>
|
||||||
<a href="https://cloud.c3re.de/apps/calendar/p/RLKKkdjNYgXH8yEz/dayGridMonth/now">Zum Kalender</a>
|
<a href="https://cloud.c3re.de/apps/calendar/p/RLKKkdjNYgXH8yEz/dayGridMonth/now">Zum Kalender</a>
|
||||||
<br>
|
<br>
|
||||||
|
|
|
@ -212,6 +212,10 @@ a.external:after {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#calendar.loading{
|
||||||
|
height: 100em;
|
||||||
|
}
|
||||||
|
|
||||||
#calendar .row {
|
#calendar .row {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,6 +13,8 @@ document.addEventListener("DOMContentLoaded", function () {
|
||||||
let cal = JSON.parse(xmlHttp.responseText);
|
let cal = JSON.parse(xmlHttp.responseText);
|
||||||
let $ = jQuery;
|
let $ = jQuery;
|
||||||
let box = $("#calendar");
|
let box = $("#calendar");
|
||||||
|
|
||||||
|
box.removeClass("loading");
|
||||||
for (let item of cal) {
|
for (let item of cal) {
|
||||||
let li = $("<li/>");
|
let li = $("<li/>");
|
||||||
//li.text(item.summary)
|
//li.text(item.summary)
|
||||||
|
|
Loading…
Reference in New Issue