diff --git a/sipa/static/js/agdsn.js b/sipa/static/js/agdsn.js index fb7f57ea..e6d18546 100644 --- a/sipa/static/js/agdsn.js +++ b/sipa/static/js/agdsn.js @@ -1,5 +1,5 @@ function get_language() { - return document.documentElement.lang; + return JSON.parse(document.getElementById('locale').innerHTML); } let statusMessages = { diff --git a/sipa/templates/base.html b/sipa/templates/base.html index a42d3594..c871987f 100644 --- a/sipa/templates/base.html +++ b/sipa/templates/base.html @@ -62,6 +62,10 @@ {% block custom_css %}{% endblock %} + +