From c1b3de5c59887c16170ae1a9a6e79287c8688055 Mon Sep 17 00:00:00 2001 From: ai-bot Date: Mon, 16 Nov 2026 19:02:39 +0000 Subject: [PATCH] Do not reset the currency on a currency change --- static/transaction.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/transaction.js b/static/transaction.js index 7de9aa5..4e8d122 100644 --- a/static/transaction.js +++ b/static/transaction.js @@ -552,7 +552,9 @@ }); 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); });