Merge commit 'bc9c5198d1a1df7526ee95de9411f8e7d0a60894' into dark-mode

This commit is contained in:
Marie Birner
2023-11-04 17:25:14 +01:00
6 changed files with 39 additions and 29 deletions

View File

@ -104,7 +104,6 @@ function setMaxAmountRowers(name: string, rowers: number) {
//}
let input = <HTMLElement>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;