From 0f8c7a365ec64c4e8d7dc2bc0a1a708996cc9af9 Mon Sep 17 00:00:00 2001 From: philipp Date: Sat, 4 Nov 2023 16:27:17 +0100 Subject: [PATCH] push --- frontend/main.ts | 2 -- templates/includes/macros.html.tera | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) 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 %} -