aboutsummaryrefslogtreecommitdiff
path: root/utils.mjs
diff options
context:
space:
mode:
authorKaran Jayachandra <karan.jayachandra@nxp.com>2025-11-12 21:46:00 +0100
committerKaran Jayachandra <karan.jayachandra@nxp.com>2025-11-12 21:46:00 +0100
commit6dff11c285d4990bb9a5b11d6ac36d491bea8de3 (patch)
tree5b3930cb01c9ff78878e6a59caa84bfd96ee53f4 /utils.mjs
parent0878eeb2200d609930ba597699933ed852e3ee98 (diff)
Added the history and working version for games
Diffstat (limited to 'utils.mjs')
-rw-r--r--utils.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.mjs b/utils.mjs
index b21539e..b8e5222 100644
--- a/utils.mjs
+++ b/utils.mjs
@@ -16,7 +16,6 @@ export class Manager {
.join("");
let elementId = this.description + "_list";
document.getElementById(elementId).innerHTML = renderedHTML;
- this.addToggleBehaviour();
}
addToggleBehaviour() {
for (let idx = 0; idx < this.listData.length; ++idx) {
@@ -39,6 +38,7 @@ export function getMatchCount(regulars, courts) {
console.log(
"There are a total of " + activeCourts.length + " courts available."
);
+ console.log(regulars);
const activePlayers = regulars.filter(function (p) {
return p.status;
});