Settings: reload on lang change
This commit is contained in:
parent
c485898b7d
commit
e0f400a800
|
@ -19,6 +19,7 @@
|
|||
<button
|
||||
on:click={() => {
|
||||
lang.set("de-DE");
|
||||
location.reload();
|
||||
}}
|
||||
type="button"
|
||||
class:bg-blue-700={$lang === "de-DE"}
|
||||
|
@ -44,6 +45,7 @@
|
|||
<button
|
||||
on:click={() => {
|
||||
lang.set("en-EN");
|
||||
location.reload();
|
||||
}}
|
||||
type="button"
|
||||
class:bg-blue-700={$lang === "en-EN"}
|
||||
|
|
Loading…
Reference in New Issue