Commit 442a73dd authored by scmoritz's avatar scmoritz
Browse files

Fix typo

parent 2766600c
......@@ -22,7 +22,7 @@ function changeLanguage(language) {
_currentLanguage = 'en';
i18n.translator.add(english);
}
localStorage.setItem('lanuage', _currentLanguage);
localStorage.setItem('language', _currentLanguage);
}
/**
......@@ -42,7 +42,7 @@ function isLanguageValid(language) {
* This function sets the current language accordingly.
*/
function loadLanguage() {
let lang = localStorage.getItem('lanuage');
let lang = localStorage.getItem('language');
if (!lang) {
if (navigator.languages !== undefined) {
lang = navigator.languages.toString();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment