diff --git a/frontend/main.ts b/frontend/main.ts index 3d4fcf2..ab42d06 100644 --- a/frontend/main.ts +++ b/frontend/main.ts @@ -104,7 +104,6 @@ function setMaxAmountRowers(name: string, rowers: number) { //} let input = document.querySelector('#'+name); - if(input) { choiceObjects[name].config.maxItemCount = rowers; if (rowers === 0) { @@ -201,7 +200,6 @@ interface ChoiceEvent extends Event{ } function initNewChoice(select: HTMLInputElement) { - let seats = 0; if (select.dataset && select.dataset.seats) { seats = +select.dataset.seats; diff --git a/templates/includes/macros.html.tera b/templates/includes/macros.html.tera index f97150c..a051759 100644 --- a/templates/includes/macros.html.tera +++ b/templates/includes/macros.html.tera @@ -175,7 +175,7 @@ {% endif %} {% for d in data %} -