mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-03 19:31:20 +01:00
Merge pull request #213 from rakleed/patch-1
Extract language from `html` instead of browser UI
This commit is contained in:
1 file changed
+1
-1
@@ -289,7 +289,7 @@ function roundDown(num) {
|
||||
}
|
||||
|
||||
function numberFormat(numberState) {
|
||||
const userLocales = navigator.language;
|
||||
const userLocales = document.documentElement.lang;
|
||||
|
||||
const formatter = Intl.NumberFormat(userLocales, {
|
||||
notation: "compact",
|
||||
|
||||
Reference in new issue
Block a user