forked from Ruderverein-Donau-Linz/rowt
[BUGFIX] reset rowers
This commit is contained in:
parent
f67174c81e
commit
9d08ee5a9d
@ -40,6 +40,7 @@ function selectBoatChange() {
|
||||
|
||||
const rowers = Number(originalOption.dataset.amount_seats) - 1;
|
||||
choiceObjects['newrower'].config.maxItemCount = rowers;
|
||||
choiceObjects['newrower'].removeActiveItems(rowers);
|
||||
(rowers === 0 ? choiceObjects['newrower'].disable() : choiceObjects['newrower'].enable());
|
||||
|
||||
return opt;
|
||||
|
Loading…
x
Reference in New Issue
Block a user