mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-11-28 08:57:56 +01:00
added document.documentElement.lang
This commit is contained in:
1 parent
4ba6ef9f9e
commit
7ac7bf9b0d
3 files changed
+3
-3
No files matched your search
@@ -185,7 +185,7 @@ const NEUTRAL_STATE = "NEUTRAL_STATE";
|
||||
?.getAttribute("href")
|
||||
)?.searchParams?.get("locale");
|
||||
|
||||
const formatter = Intl.NumberFormat(userLocales || navigator.language, {
|
||||
const formatter = Intl.NumberFormat(document.documentElement.lang || userLocales || navigator.language, {
|
||||
notation: "compact",
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user