Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Commit

Permalink
fix: Missing "€" in cart total
Browse files Browse the repository at this point in the history
  • Loading branch information
Iltotore committed Apr 13, 2024
1 parent b345d0a commit 322c3bd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions public/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,3 @@ function loadNavbarLogic() {
}, 150);
});
}

function closeElement(element) {
element.remove()
}
2 changes: 1 addition & 1 deletion public/js/cart.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,5 +146,5 @@ function updatePrice() {
price += itemPrice
}

priceLabel.innerHTML = "Total: " + price.toFixed(2)
priceLabel.innerHTML = "Total: " + price.toFixed(2) + " €"
}

0 comments on commit 322c3bd

Please sign in to comment.