function expand_mediumname_if_single_team(team, expansions) {
if (expansions.hasOwnProperty(team)) {
- return expansions[team].mediumname;
+ return expansions[team][1];
}
return team;
}
replacements.unshift(["L " + game_name2, team1]);
}
} else if (game[5]) {
+ // No score yet, so write the name of the game (e.g. “L-semi 1”)
+ // where the score would normally be, to mark what this game is called.
+ // This is useful with the limited space on the tablet.
score1 = score2 = "";
updates.push({ "range": cell_score1, "values": [ [ game[4] ] ] });
}