mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-01 18:31:24 +01:00
Fixed numberFormat RegEx
This commit is contained in:
1 parent
5918a26d22
commit
77ce8f6a06
3 files changed
+3
-3
No files matched your search
@@ -209,7 +209,7 @@ function numberFormat(numberState) {
|
|||||||
maximumFractionDigits: 1
|
maximumFractionDigits: 1
|
||||||
});
|
});
|
||||||
|
|
||||||
return formatter.format(roundDown(numberState)).replace(/.0|,0/gi, '');
|
return formatter.format(roundDown(numberState)).replace(/\.0|,0/, '');
|
||||||
}
|
}
|
||||||
|
|
||||||
function setEventListeners(evt) {
|
function setEventListeners(evt) {
|
||||||
|
|||||||
@@ -154,7 +154,7 @@
|
|||||||
maximumFractionDigits: 1
|
maximumFractionDigits: 1
|
||||||
});
|
});
|
||||||
|
|
||||||
return formatter.format(roundDown(numberState)).replace(/.0|,0/gi, '');
|
return formatter.format(roundDown(numberState)).replace(/\.0|,0/, '');
|
||||||
}
|
}
|
||||||
|
|
||||||
var jsInitChecktimer = null;
|
var jsInitChecktimer = null;
|
||||||
|
|||||||
@@ -150,7 +150,7 @@ function numberFormat(numberState) {
|
|||||||
maximumFractionDigits: 1
|
maximumFractionDigits: 1
|
||||||
});
|
});
|
||||||
|
|
||||||
return formatter.format(roundDown(numberState)).replace(/.0|,0/gi, '');
|
return formatter.format(roundDown(numberState)).replace(/\.0|,0/, '');
|
||||||
}
|
}
|
||||||
|
|
||||||
function setEventListeners(evt) {
|
function setEventListeners(evt) {
|
||||||
|
|||||||
Reference in new issue
Block a user