mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-05 14:58:44 +05:00
1 parent
1bb9b61017
commit
43fd095714
8 files changed
+106
-86
No files matched your search
@@ -32,7 +32,7 @@ class Lang {
|
||||
}
|
||||
|
||||
if (!this.localeIsSupported(this.defaultLocale)) {
|
||||
const selected = this.switcher.selectedIndex ?? 0;
|
||||
const selected = this.switcher.selectedIndex ? this.switcher.selectedIndex : 0;
|
||||
this.defaultLocale = this.switcher.options[selected].value;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user