From 439e66e9e34c3e3c46c0f50d13a3a5d74d258949 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Tue, 4 Apr 2023 11:50:17 +0200 Subject: [PATCH] Fix statistics page --- all_themes_index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/all_themes_index.ts b/all_themes_index.ts index bebc423938..3bed9964d2 100644 --- a/all_themes_index.ts +++ b/all_themes_index.ts @@ -44,12 +44,12 @@ const cm = document.getElementById("centermessage") cm.parentElement.removeChild(cm) if (mode.data === "statistics") { console.log("Statistics mode!") - new StatisticsGUI().SetClass("w-full h-full pointer-events-auto").AttachTo("topleft-tools") + new StatisticsGUI().SetClass("w-full h-full pointer-events-auto").AttachTo("top-left") } else if (mode.data === "pdf") { MinimapImplementation.initialize() const div = document.createElement("div") div.id = "extra_div_for_maps" - new PdfExportGui(div.id).SetClass("pointer-events-auto").AttachTo("topleft-tools") + new PdfExportGui(div.id).SetClass("pointer-events-auto").AttachTo("top-left") document.getElementById("topleft-tools").appendChild(div) } else { new AllThemesGui().setup()