We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18c48b4 commit c706799Copy full SHA for c706799
_includes/pageviews/goatcounter.html
@@ -10,7 +10,7 @@
10
fetch(url)
11
.then((response) => response.json())
12
.then((data) => {
13
- const count = data.count.replace(/\s/g, '');
+ const count = data.count.replace(/\D/g, '');
14
pv.innerText = new Intl.NumberFormat().format(count);
15
})
16
.catch((error) => {
0 commit comments