X-Git-Url: https://git.auder.net/?p=xogo.git;a=blobdiff_plain;f=app.js;h=a8f447b9b497349a458ff35f94791f05239e15e3;hp=12c2b7ab65fea59a497ed1901a924889b0225491;hb=0e466aac11288f35b34d744b2652c7b4e9df2e24;hpb=518bfb7a260f95e282f763878c2e9cf5ba58ef86 diff --git a/app.js b/app.js index 12c2b7a..a8f447b 100644 --- a/app.js +++ b/app.js @@ -390,6 +390,10 @@ const messageCenter = (msg) => { case "closerematch": toggleVisible("newGame"); break; + case "filechange": + // TODO?: could be more subtle + location.reload(); + break; } };