SatSale

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit e15e04ed1b162b873cc11ea377c4ced4fc7a6481
parent ad6744db5c62d3643ae73313dea6d7132dafa8e6
Author: nickfarrow <nick@nickfarrow.com>
Date:   Tue, 18 May 2021 01:12:37 +1000

fix rounding bug - F js

Diffstat:
Mstatic/server_connection.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/static/server_connection.js b/static/server_connection.js @@ -20,7 +20,7 @@ function initiate(payment_data) { $('#address').text(msg.address).html(); // Display payment amount $('#amount').text(msg.amount).html(); - $('#amount_sats').text(math.round(msg.amount * 10**8)).html(); + $('#amount_sats').text(Math.round(msg.amount * 10**8)).html(); // Display payment time left $('#timer').text(Math.round(msg.time_left)).html();