mirror of
https://github.com/Noratrieb/does-it-build.git
synced 2026-01-14 18:35:01 +01:00
Remove old link and show number of builds
In the users locale of course. Without any annoying Accept-Language parsing or anything like that, just with the beauty of JavaScript.
This commit is contained in:
parent
3f302c7180
commit
f6fac25c6f
4 changed files with 94 additions and 35 deletions
4
static/index.js
Normal file
4
static/index.js
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
// Do some fancy number formatting in your locale, so you can't blame me if the numbers look ass.
|
||||
document.querySelectorAll(".number").forEach((elem) => {
|
||||
elem.textContent = new Intl.NumberFormat().format(Number(elem.textContent));
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue