I take bitcoin, not we
This commit is contained in:
parent
4ae401d7f1
commit
9c3b1a9225
|
@ -98,7 +98,7 @@
|
|||
</section>
|
||||
{% endif %}
|
||||
<section class="streambox" id="support">
|
||||
<h2>We take bitcoin donations!</h2>
|
||||
<h2>I take bitcoin donations!</h2>
|
||||
<div class="streamer" style="margin-top:0;">
|
||||
<!-- BTC Pay -->
|
||||
<script>if(!window.btcpay){ var head = document.getElementsByTagName('head')[0]; var script = document.createElement('script'); script.src='https://node.alsenet.com:49393/modal/btcpay.js'; script.type = 'text/javascript'; head.append(script);}function onBTCPayFormSubmit(event){ var xhttp = new XMLHttpRequest(); xhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { if(this.status == 200 && this.responseText){ var response = JSON.parse(this.responseText); window.btcpay.showInvoice(response.invoiceId); } } }; xhttp.open("POST", event.target.getAttribute('action'), true); xhttp.send(new FormData( event.target ));}</script>
|
||||
|
|
Loading…
Reference in a new issue