mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-02 02:41:22 +01:00
Locales separating decimals with commas
Add regex for locales separating decimals with commas, and not periods
This commit is contained in:
1 parent
e51ba3999b
commit
d8bd7d31a6
1 file changed
+1
-1
@@ -154,7 +154,7 @@
|
|||||||
maximumFractionDigits: 1
|
maximumFractionDigits: 1
|
||||||
});
|
});
|
||||||
|
|
||||||
return formatter.format(roundDown(numberState)).replace('.0', '');
|
return formatter.format(roundDown(numberState)).replace(/.0|,0/gi, '');
|
||||||
}
|
}
|
||||||
|
|
||||||
var jsInitChecktimer = null;
|
var jsInitChecktimer = null;
|
||||||
|
|||||||
Reference in new issue
Block a user