fix: matchmaking required min 1 player #5

This commit is contained in:
2024-02-20 14:04:38 +01:00
committed by AdrienLSH
parent 99af47dac1
commit 2560ec908d
3 changed files with 48 additions and 9 deletions

View File

@ -1,8 +1,8 @@
export function clear(property_name, elements_id)
{
elements_id.forEach(element_id => {
let element = document.getElementById(element_id)
element[property_name] = ""
let element = document.getElementById(element_id);
element[property_name] = "";
});
}