From 383c05e26a0209478a4bb41d49379cebb838b7fc Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Mon, 18 Jul 2022 15:18:19 +0200 Subject: [PATCH] add delay for page reload --- TODO | 2 +- app.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TODO b/TODO index 40446da..78cb5dd 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,4 @@ -Baroque Berolina Bicolour Brotherhood +Berolina Bicolour Brotherhood For Baroque (and Fugue and...) --> maybe a dedicated parent class ? Go game with option oneColor (révélée à la fin phase counting -->). diff --git a/app.js b/app.js index a8f447b..c5d5c7f 100644 --- a/app.js +++ b/app.js @@ -392,7 +392,7 @@ const messageCenter = (msg) => { break; case "filechange": // TODO?: could be more subtle - location.reload(); + setTimeout(() => location.reload(), 100); break; } }; -- 2.44.0