Small tweaks to translation label

This commit is contained in:
Pieter Vander Vennet 2021-02-20 03:29:55 +01:00
parent e2d5cefda3
commit dcdb5b9a22
12 changed files with 56 additions and 33 deletions

View file

@ -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)