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()