[BUGFIX] reset rowers
This commit is contained in:
parent
f3b0c74bbc
commit
1ea46760af
@ -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…
Reference in New Issue
Block a user