aboutsummaryrefslogtreecommitdiffhomepage
path: root/static/language-switch.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/language-switch.js')
-rw-r--r--static/language-switch.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/static/language-switch.js b/static/language-switch.js
new file mode 100644
index 0000000..a357ef0
--- /dev/null
+++ b/static/language-switch.js
@@ -0,0 +1,3 @@
+addEventListener("languagechange", (e) => {
+ location.reload();
+});