mirror of
https://github.com/lightninglabs/aperture.git
synced 2025-12-17 09:04:19 +01:00
static/index.html: remove trailing spaces
This commit is contained in:
@@ -83,7 +83,7 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function payInvoice() {
|
function payInvoice() {
|
||||||
if (window.WebLN) {
|
if (window.WebLN) {
|
||||||
WebLN.requestProvider()
|
WebLN.requestProvider()
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
alert("Joule not installed or failed to load WebLN library.");
|
alert("Joule not installed or failed to load WebLN library.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function addPreimage() {
|
function addPreimage() {
|
||||||
let preimage = prompt("Enter hex encoded preimage");
|
let preimage = prompt("Enter hex encoded preimage");
|
||||||
authorization = "LSAT " + lastMacaroon + ":" + preimage;
|
authorization = "LSAT " + lastMacaroon + ":" + preimage;
|
||||||
@@ -112,7 +112,7 @@
|
|||||||
|
|
||||||
$(document).ready(() => {
|
$(document).ready(() => {
|
||||||
const host = document.location.host;
|
const host = document.location.host;
|
||||||
|
|
||||||
$('#reload-lnd').on('click', () => loadJSON('//alice.' + host + '/v1/getinfo', $('#getinfo-lnd'))).click();
|
$('#reload-lnd').on('click', () => loadJSON('//alice.' + host + '/v1/getinfo', $('#getinfo-lnd'))).click();
|
||||||
$('#reload-bos').on('click', () => loadJSON('//' + host + '/availability/v1/btc.json', $('#bos-scores'))).click();
|
$('#reload-bos').on('click', () => loadJSON('//' + host + '/availability/v1/btc.json', $('#bos-scores'))).click();
|
||||||
$('#pay').on('click', () => payInvoice());
|
$('#pay').on('click', () => payInvoice());
|
||||||
|
|||||||
Reference in New Issue
Block a user