From 8171260f468f4e4607b9756d2360a2802032a9fb Mon Sep 17 00:00:00 2001 From: ai-bot Date: Sun, 15 Nov 2026 18:31:44 +0000 Subject: [PATCH] Follow the currency choice of a transfer --- static/transaction.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/static/transaction.js b/static/transaction.js index eff3c11..f426bf8 100644 --- a/static/transaction.js +++ b/static/transaction.js @@ -545,6 +545,11 @@ loadLots().catch(Skuld.showError); }); + document.querySelector('[name="leg_out_currency"]').addEventListener("change", function () { + applyType(); + loadLots().catch(Skuld.showError); + }); + ["leg_out_amount", "fee", "market_id", "date"].forEach(function (name) { document.querySelector('[name="' + name + '"]').addEventListener("change", function () { if (!generated) {