mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix language change when refreshing
This commit is contained in:
parent
5edafe901a
commit
5800102f9f
2 changed files with 2 additions and 9 deletions
|
@ -89,6 +89,8 @@ const Direction = {
|
|||
|
||||
currentCulture = normalizeLocaleName(culture);
|
||||
|
||||
document.documentElement.setAttribute('lang', currentCulture);
|
||||
|
||||
let dateTimeCulture;
|
||||
try {
|
||||
dateTimeCulture = userSettings.dateTimeLocale();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue