diff options
| author | Adam Soltys <[email protected]> | 2026-06-15 09:56:53 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-15 09:56:53 -0700 |
| commit | 59359581ae8a25a6a55f9e9122b94ceca20e186b (patch) | |
| tree | e723667752c47d4ce0a223d1bb402fde55cd9b62 /src/app.js | |
| parent | bb57b3cc0fffc2657b4ad09a07ae5e6989345875 (diff) | |
| download | coinosv3-59359581ae8a25a6a55f9e9122b94ceca20e186b.tar.gz coinosv3-59359581ae8a25a6a55f9e9122b94ceca20e186b.zip | |
Set amount step to 0.00000001 for BTC (1 for sats)
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/app.js')
| -rw-r--r-- | src/app.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -626,7 +626,8 @@ function sendForm() { 'div', { class: 'input-group' }, h('input', { - type: 'number', step: 'any', min: '0', placeholder: s.unit === 'sats' ? '0' : '0.00000000', + type: 'number', step: s.unit === 'sats' ? '1' : '0.00000001', min: '0', + placeholder: s.unit === 'sats' ? '0' : '0.00000000', disabled: s.max, value: s.max ? (s.unit === 'sats' ? String(estimatedMaxSats()) : fmtBtc(estimatedMaxSats())) |
