This commit is contained in:
Pieter Vander Vennet 2022-09-20 16:03:28 +02:00
parent aaa7439b02
commit 77a41793c8
2 changed files with 6 additions and 2 deletions

View file

@ -46,7 +46,11 @@ export default class TitleHandler {
if (Utils.runningFromConsole) {
return
}
try{
document.title = title
}catch (e) {
console.error(e)
}
})
}
}

View file

@ -1,6 +1,6 @@
import MinimapImplementation from "./UI/Base/MinimapImplementation";
7import { Utils } from "./Utils"
import { Utils } from "./Utils"
import AllThemesGui from "./UI/AllThemesGui"
import { QueryParameters } from "./Logic/Web/QueryParameters"
import StatisticsGUI from "./UI/StatisticsGUI"
@ -50,7 +50,7 @@ if (mode.data === "statistics") {
new FixedUiElement("").AttachTo("centermessage")
const div = document.createElement("div")
div.id = "extra_div_for_maps"
new PdfExportGui(div.id).SetClass("pointer-event-auto").AttachTo("topleft-tools")
new PdfExportGui(div.id).SetClass("pointer-events-auto").AttachTo("topleft-tools")
document.getElementById("topleft-tools").appendChild(div)
} else {
new AllThemesGui().setup()