added document.documentElement.lang

This commit is contained in:
DARKDRAGON532 committed 2021-12-09 12:54:29 +05:30
1 parent 4ba6ef9f9e
commit 7ac7bf9b0d
3 files changed
+3 -3

No files matched your search

@@ -308,7 +308,7 @@ function numberFormat(numberState) {
)?.searchParams?.get("locale");
const formatter = Intl.NumberFormat(
userLocales || document.documentElement.lang,
document.documentElement.lang || userLocales,
{
notation: "compact",
minimumFractionDigits: 1,