diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/common/play.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/public/common/play.js b/public/common/play.js index cba9870..fc71439 100644 --- a/public/common/play.js +++ b/public/common/play.js @@ -491,8 +491,6 @@ function zoom_map() { } } -zoom_map(); - window.addEventListener("resize", zoom_map); window.addEventListener("keydown", (evt) => { @@ -839,6 +837,7 @@ async function init_replay() { } window.addEventListener("load", function () { + zoom_map(); if (params.mode === "replay") init_replay(); if (params.mode === "play") |