diff --git a/src/index.html b/src/index.html index d34a0e9..4e26bef 100644 --- a/src/index.html +++ b/src/index.html @@ -47,7 +47,7 @@

🏸 Kursangebot

Legende VerfĂźgbarkeit:
freie Plätze - wenige Plätze + < 5 Plätze Warteliste

diff --git a/src/javascript.html b/src/javascript.html index 7a928e9..fc5733d 100644 --- a/src/javascript.html +++ b/src/javascript.html @@ -71,7 +71,7 @@ const [id, , , , , , , , , , participantLimit, bookings, availableSeats] = event let [badgeState, badgeText] = ['success', 'freie Plätze'] if (availableSeats <= 0) [badgeState, badgeText] = ['danger', 'Warteliste'] - else if (availableSeats <= 5) [badgeState, badgeText] = ['warning', 'wenige Plätze'] + else if (availableSeats < 5) [badgeState, badgeText] = ['warning', 'wenige Plätze'] return `