Fixed a bug in the template for the order page caused by localization and removed the previously applied workaround for this issue

This commit is contained in:
W13R 2022-05-16 10:51:22 +02:00
parent aa0f2d67ed
commit d792a7658c
3 changed files with 4 additions and 3 deletions

View file

@ -14,7 +14,7 @@ document.addEventListener("DOMContentLoaded", () => {
// calculate & display sum
let order_price_per_drink = parseFloat(document.getElementById("pricePerDrink").dataset.drinkPrice.replace(",", "."));
let order_price_per_drink = parseFloat(document.getElementById("pricePerDrink").dataset.drinkPrice);
function calculate_and_display_sum() {