From 60f5c8dac020d2a0d78914078ec3faa34dda1416 Mon Sep 17 00:00:00 2001 From: Alvie Rahman Date: Sun, 11 Apr 2021 16:51:59 +0100 Subject: [PATCH] clicking region in start screen runs init --- src/game.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/game.js b/src/game.js index 813ff7b..7b34d08 100644 --- a/src/game.js +++ b/src/game.js @@ -123,9 +123,11 @@ function setSelectorMatches(value){ function displaySelectorMatches(){ selectorResultsHTML.innerHTML = selectorMatches + .concat(ALL_REGIONS) .map(region => { - return `
${region}
` + return `
${region}
` }) + .sort() .join(''); }