mirror of
https://github.com/jorgev259/soc_site-astro.git
synced 2025-06-29 07:57:41 +00:00
Filter locale
This commit is contained in:
parent
c35f4dee64
commit
1222df841b
3 changed files with 5 additions and 6 deletions
|
|
@ -37,7 +37,8 @@ if (!album) {
|
|||
return
|
||||
}
|
||||
|
||||
const locale = navigator.languages && navigator.languages.length ? navigator.languages[0] : navigator.language
|
||||
const locale =
|
||||
navigator && navigator.languages && navigator.languages.length ? navigator.languages[0] : navigator.language
|
||||
---
|
||||
|
||||
<style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue