mirror of
https://github.com/grocy/grocy.git
synced 2025-08-17 11:06:36 +00:00
Implemented tare weight handling (closes #132)
This commit is contained in:
@@ -502,7 +502,7 @@ $("#about-dialog-link").on("click", function()
|
||||
});
|
||||
});
|
||||
|
||||
$(".local-number-format[data-format='currency']").each(function ()
|
||||
$(".locale-number-format[data-format='currency']").each(function ()
|
||||
{
|
||||
$(this).text(parseFloat($(this).text()).toLocaleString(undefined, { minimumFractionDigits: 2 }));
|
||||
$(this).text(parseFloat($(this).text()).toLocaleString(undefined, { style: "currency", currency: Grocy.Currency }));
|
||||
});
|
||||
|
Reference in New Issue
Block a user