forked from MapComplete/MapComplete
Fix typo
This commit is contained in:
parent
aaa7439b02
commit
77a41793c8
2 changed files with 6 additions and 2 deletions
|
@ -46,7 +46,11 @@ export default class TitleHandler {
|
||||||
if (Utils.runningFromConsole) {
|
if (Utils.runningFromConsole) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
try{
|
||||||
document.title = title
|
document.title = title
|
||||||
|
}catch (e) {
|
||||||
|
console.error(e)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import MinimapImplementation from "./UI/Base/MinimapImplementation";
|
import MinimapImplementation from "./UI/Base/MinimapImplementation";
|
||||||
|
|
||||||
7import { Utils } from "./Utils"
|
import { Utils } from "./Utils"
|
||||||
import AllThemesGui from "./UI/AllThemesGui"
|
import AllThemesGui from "./UI/AllThemesGui"
|
||||||
import { QueryParameters } from "./Logic/Web/QueryParameters"
|
import { QueryParameters } from "./Logic/Web/QueryParameters"
|
||||||
import StatisticsGUI from "./UI/StatisticsGUI"
|
import StatisticsGUI from "./UI/StatisticsGUI"
|
||||||
|
@ -50,7 +50,7 @@ if (mode.data === "statistics") {
|
||||||
new FixedUiElement("").AttachTo("centermessage")
|
new FixedUiElement("").AttachTo("centermessage")
|
||||||
const div = document.createElement("div")
|
const div = document.createElement("div")
|
||||||
div.id = "extra_div_for_maps"
|
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)
|
document.getElementById("topleft-tools").appendChild(div)
|
||||||
} else {
|
} else {
|
||||||
new AllThemesGui().setup()
|
new AllThemesGui().setup()
|
||||||
|
|
Loading…
Reference in a new issue