From 706ec885766e0b859dce3e1feedd315c8e63353a Mon Sep 17 00:00:00 2001 From: Mario Linz Date: Wed, 15 Jun 2022 14:18:07 +0200 Subject: [PATCH] =?UTF-8?q?Kleiner=20Fix=20in=20Content=20Komponente=20-?= =?UTF-8?q?=20Hinzuf=C3=BCgen=20des=20End-Slash=20(/)=20in=20ge=C3=A4ndert?= =?UTF-8?q?em=20Pfad=20nach=20Sprach-Wechsel.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/routes/Content.svelte | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/routes/Content.svelte b/src/components/routes/Content.svelte index f02da32..6ef9fe2 100644 --- a/src/components/routes/Content.svelte +++ b/src/components/routes/Content.svelte @@ -48,7 +48,7 @@ if (c) { if (type === "changedLanguage") { let newPath = c.path + $location.search - window.history.pushState({}, document.getElementsByTagName("title")[0].innerHTML, newPath) + window.history.pushState({}, document.getElementsByTagName("title")[0].innerHTML, newPath + "/") path = newPath } @@ -166,7 +166,7 @@ {:else if content} {:else} -
+ {/if}