forked from MapComplete/MapComplete
Show 'about mapcomplete' on index
This commit is contained in:
parent
1831365597
commit
0fc8bbe1ed
3 changed files with 9 additions and 7 deletions
6
index.ts
6
index.ts
|
@ -118,10 +118,10 @@ if (layoutFromBase64.startsWith("wiki:")) {
|
|||
} else {
|
||||
// We fall through: no theme loaded: just show a few buttons
|
||||
State.state = new State(undefined);
|
||||
new Combine([new MoreScreen(true)
|
||||
.SetStyle("pointer-events: all;"),
|
||||
Translations.t.general.openStreetMapIntro
|
||||
new Combine([new MoreScreen(true),
|
||||
Translations.t.general.aboutMapcomplete
|
||||
]).SetClass("block m-5 lg:w-3/4 lg:ml-40")
|
||||
.SetStyle("pointer-events: all;")
|
||||
.AttachTo("topleft-tools");
|
||||
}
|
||||
window.addEventListener('contextmenu', function (e) { // Not compatible with IE < 9
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue