SatSale

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

commit c2e79c8fa9fe20ebbeca5da0d227388141ffc5aa
parent 440991b9ee447ab0387ae3137fdb2cf3241c5fc7
Author: NicholasFarrow <nicholas.w.farrow@gmail.com>
Date:   Mon, 29 Mar 2021 02:22:33 +1100

Remove trash

Diffstat:
Dstatic/jquery.min.js | 24------------------------
1 file changed, 0 insertions(+), 24 deletions(-)

diff --git a/static/jquery.min.js b/static/jquery.min.js @@ -1,24 +0,0 @@ -$(document).ready(function() { - namespace = '/pay'; - var socket = io(namespace); - - socket.on('connect', function() { - socket.emit('initialise', {'data': 'initialising payment...'}); - }); - - socket.on('payresponse', function(msg, cb) { - console.log(msg.response); - $('#status').text(msg.status).html(); - $('#address').text(msg.address).html(); - $('#amount').text(msg.amount).html(); - $('#log').append('<br>' + $('<div/>').text(msg.response).html()); - $('#timer').text(msg.time_left).html(); - if (cb) - cb(); - }); - - $('form#pay').submit(function(event) { - socket.emit('payment', {'amount': $('#pay_data').val(), 'label' : null}); - return false; - }); -});