Do not reset the currency on a currency change

This commit is contained in:
ai-bot committed 2026-11-16 19:02:39 +00:00
1 parent 0c68e6ae92
commit c1b3de5c59
1 file changed
+3 -1
+3 -1
View File
@@ -552,7 +552,9 @@
}); });
document.querySelector('[name="leg_out_currency"]').addEventListener("change", function () { document.querySelector('[name="leg_out_currency"]').addEventListener("change", function () {
applyType(); // Only what depends on the currency: applyType() would set the select back to
// the default of the type, so the owner could never pick the other currency.
syncDestination();
loadLots().catch(Skuld.showError); loadLots().catch(Skuld.showError);
}); });