Remove kletterspots.de specific stuff

This commit is contained in:
Pieter Vander Vennet 2020-12-14 01:14:22 +01:00
parent c693faea95
commit 7ad601f2eb
9 changed files with 23 additions and 26 deletions

View file

@ -80,7 +80,7 @@ export class InitUiElements {
layoutDefinition: string = "") {
if (layoutToUse === undefined) {
console.log("Incorrect layout")
new FixedUiElement("Error: incorrect layout <i>" + layoutName + "</i><br/><a href='https://kletterspots.de/index.html'>Go back</a>").AttachTo("centermessage").onClick(() => {
new FixedUiElement(`Error: incorrect layout <i>${layoutName}</i><br/><a href='https://${window.location.host}/index.html'>Go back</a>`).AttachTo("centermessage").onClick(() => {
});
throw "Incorrect layout"
}