inline utils
This commit is contained in:
parent
161135e315
commit
0f7ec6f521
2 changed files with 4 additions and 3 deletions
|
|
@ -1,3 +0,0 @@
|
||||||
function formatNumberWithSpaces(num) {
|
|
||||||
return num.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ' ');
|
|
||||||
}
|
|
||||||
|
|
@ -1,4 +1,8 @@
|
||||||
function offersPage() {
|
function offersPage() {
|
||||||
|
function formatNumberWithSpaces(num) {
|
||||||
|
return num.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ' ');
|
||||||
|
}
|
||||||
|
|
||||||
const buttonStartCreateOffer = document.getElementById(
|
const buttonStartCreateOffer = document.getElementById(
|
||||||
'button-start-create-offer'
|
'button-start-create-offer'
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue