Language selection wasn't being written to local storage.
Updated submodule.
This commit is contained in:
parent
30ce95011a
commit
7f71e0d89b
2
Css/generic.min.css
vendored
2
Css/generic.min.css
vendored
@ -1 +1 @@
|
|||||||
html{font-size:16px;font-family:arial;background-color:#393939;color:rgba(255,255,255,.7)}html body{border-color:rgba(255,255,255,.2)}html body a{color:#0096cf}html body a:not([href]){text-decoration:underline;cursor:pointer}html body .hover-span{color:#0096cf}.fade-in{opacity:0;transition:opacity .5s}
|
html{font-size:16px;font-family:arial;background-color:#393939;color:rgba(255,255,255,.7)}html body{border-color:rgba(255,255,255,.2)}html body a{color:#0096cf}html body a:not([href]){text-decoration:underline;cursor:pointer}html body .hover-span{color:#0096cf}.fade-in{opacity:0;transition:opacity .5s}.centered{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}
|
@ -56,8 +56,6 @@ body { margin: 0; }
|
|||||||
|
|
||||||
.flex-grow { flex-grow: 1; }
|
.flex-grow { flex-grow: 1; }
|
||||||
|
|
||||||
.centered { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; }
|
|
||||||
|
|
||||||
.hidden { opacity: 0; }
|
.hidden { opacity: 0; }
|
||||||
|
|
||||||
.shown { opacity: 0; }
|
.shown { opacity: 0; }
|
||||||
|
@ -296,6 +296,7 @@ function languageChanged(event) {
|
|||||||
utage.setTranslationLanguage(selectedLang, missionPath)
|
utage.setTranslationLanguage(selectedLang, missionPath)
|
||||||
.then((success) => {
|
.then((success) => {
|
||||||
buildMissionSelectList();
|
buildMissionSelectList();
|
||||||
|
localStorage.setItem('language', selectedLang);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 5b7839ae9b5e47b5bd29d64c06c22a3b000d8959
|
Subproject commit ac76005f743abacf912f32ae964397e4d9d34fb7
|
Loading…
x
Reference in New Issue
Block a user