forked from MapComplete/MapComplete
Small tweaks to translation label
This commit is contained in:
parent
e2d5cefda3
commit
dcdb5b9a22
12 changed files with 56 additions and 33 deletions
|
@ -156,7 +156,7 @@ export default class ShareScreen extends UIElement {
|
|||
let hash = "";
|
||||
if (layoutDefinition !== undefined) {
|
||||
literalText = `https://${host}${path}/`
|
||||
if (layout.id.startsWith("wiki:")) {
|
||||
if (layout.id.startsWith("http")) {
|
||||
parts.push("userlayout=" + encodeURIComponent(layout.id))
|
||||
} else {
|
||||
hash = ("#" + layoutDefinition)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue