Removed some obsolete code

This commit is contained in:
Pieter Vander Vennet 2020-07-31 18:38:14 +02:00
parent 431c90d9de
commit 77ad4ef666
5 changed files with 17 additions and 35 deletions

View file

@ -31,7 +31,7 @@ export class WelcomeMessage extends UIElement {
}
this.description = fromLayout((layout) => layout.welcomeMessage);
this.plzLogIn = fromLayout((layout) => layout.gettingStartedPlzLogin);
this.plzLogIn = fromLayout((layout) => layout.gettingStartedPlzLogin.onClick(()=> State.state.osmConnection.AttemptLogin()));
this.welcomeBack = fromLayout((layout) => layout.welcomeBackMessage);
this.tail = fromLayout((layout) => layout.welcomeTail);
}
@ -54,8 +54,5 @@ export class WelcomeMessage extends UIElement {
"</span>";
}
protected InnerUpdate(htmlElement: HTMLElement) {
this.osmConnection?.registerActivateOsmAUthenticationClass()
}
}