From a1ff56369e655d221256b264073be872e2e8c83b Mon Sep 17 00:00:00 2001 From: ai-bot Date: Sun, 15 Nov 2026 11:23:58 +0000 Subject: [PATCH] Look up the unit slot --- static/transaction.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/static/transaction.js b/static/transaction.js index e0f411c..90120ef 100644 --- a/static/transaction.js +++ b/static/transaction.js @@ -131,6 +131,10 @@ return document.querySelector('[data-label="' + name + '"]'); } + function unit(name) { + return document.querySelector('[data-unit="' + name + '"]'); + } + function type() { return Skuld.fieldValue("type"); }