From 14f79cf4ffe0ba63b485224b4eb005224e7380b3 Mon Sep 17 00:00:00 2001 From: oscar Date: Sun, 19 Oct 2025 20:50:25 +0300 Subject: [PATCH] Initial commit --- static/app.js | 13 +++++++------ templates/index.html | 3 --- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/static/app.js b/static/app.js index d1bb891..178a6d4 100644 --- a/static/app.js +++ b/static/app.js @@ -4,14 +4,15 @@ function setShare(pct) { } function onKindChange(kind) { - const shareWrap = document.getElementById('share-wrap'); - const presets = document.getElementById('presets'); - if (!shareWrap || !presets) return; + const a_share = document.getElementById('a_share'); + const presets = document.getElementById('presets'); + if (!a_share || !presets) return; + if (kind === 'transfer') { - shareWrap.style.display = ''; - presets.style.display = ''; + a_share.style.display = 'none'; + presets.style.display = 'none'; } else { - shareWrap.style.display = ''; + a_share.style.display = ''; presets.style.display = ''; } } diff --git a/templates/index.html b/templates/index.html index 3918d4f..99df200 100644 --- a/templates/index.html +++ b/templates/index.html @@ -40,9 +40,6 @@ -