matchmaking: fix:
This commit is contained in:
parent
d1bea7dfd7
commit
eca4a81b70
@ -69,7 +69,7 @@ export default class extends AbstractAuthenticatedView {
|
|||||||
addChangeNbPlayersEvent()
|
addChangeNbPlayersEvent()
|
||||||
{
|
{
|
||||||
let update = () => {
|
let update = () => {
|
||||||
this.button.disabled = (this.input.value < 2 || this.input.value > 4);
|
this.button.disabled = (this.nb_players_input.value < 2 || this.nb_players_input.value > 4);
|
||||||
};
|
};
|
||||||
|
|
||||||
["change", "oninput"].forEach((event_name) => {
|
["change", "oninput"].forEach((event_name) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user