forked from MapComplete/MapComplete
Add cyclestreet theme, various bugfixes
This commit is contained in:
parent
72a744f60d
commit
60c15e9c8d
23 changed files with 412 additions and 211 deletions
|
@ -35,9 +35,13 @@ export class TabbedComponent extends UIElement {
|
|||
|
||||
headerBar = "<div class='tabs-header-bar'>" + headerBar + "</div>"
|
||||
|
||||
const content = this.content[this._source.data].Render();
|
||||
const content = this.content[this._source.data];
|
||||
return headerBar + "<div class='tab-content'>" + content.Render() + "</div>";
|
||||
}
|
||||
|
||||
return headerBar + "<div class='tab-content'>" + content + "</div>";
|
||||
protected InnerUpdate(htmlElement: HTMLElement) {
|
||||
super.InnerUpdate(htmlElement);
|
||||
this.content[this._source.data].Update();
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue