aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-15 09:55:59 -0700
committerAdam Soltys <[email protected]>2026-06-15 09:55:59 -0700
commitbb57b3cc0fffc2657b4ad09a07ae5e6989345875 (patch)
tree037f913f2017cfe95909dd94cb9c1180aa1094b8 /src
parent0b592712f6abbbd0ef45db9b29e8b61d058de4f2 (diff)
downloadcoinosv3-bb57b3cc0fffc2657b4ad09a07ae5e6989345875.tar.gz
coinosv3-bb57b3cc0fffc2657b4ad09a07ae5e6989345875.zip
Use integer amount placeholder when unit is sats
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app.js b/src/app.js
index e0babba..4f759bc 100644
--- a/src/app.js
+++ b/src/app.js
@@ -626,7 +626,7 @@ function sendForm() {
'div',
{ class: 'input-group' },
h('input', {
- type: 'number', step: 'any', min: '0', placeholder: '0.00000000',
+ type: 'number', step: 'any', min: '0', placeholder: s.unit === 'sats' ? '0' : '0.00000000',
disabled: s.max,
value: s.max
? (s.unit === 'sats' ? String(estimatedMaxSats()) : fmtBtc(estimatedMaxSats()))