diff --git a/BTCPayServer/wwwroot/js/checkout/core.js b/BTCPayServer/wwwroot/js/checkout/core.js index 1c33e37e9..35628b944 100644 --- a/BTCPayServer/wwwroot/js/checkout/core.js +++ b/BTCPayServer/wwwroot/js/checkout/core.js @@ -307,12 +307,12 @@ $(document).ready(function () { } // Clipboard Copy - var copyAmount = new Clipboard('._copySpan', { + var copySpan = new Clipboard('._copySpan', { target: function (trigger) { return copyElement(trigger, 0, 65).firstChild; } }); - var copyAmount = new Clipboard('._copyInput', { + var copyInput = new Clipboard('._copyInput', { target: function (trigger) { return copyElement(trigger, 4, 65).firstChild; } diff --git a/BTCPayServer/wwwroot/js/checkout/langs/es.js b/BTCPayServer/wwwroot/js/checkout/langs/es.js index 4cfe0adc3..4df714e7d 100644 --- a/BTCPayServer/wwwroot/js/checkout/langs/es.js +++ b/BTCPayServer/wwwroot/js/checkout/langs/es.js @@ -33,7 +33,7 @@ const locales_es = { "Invoice expiring soon...": "La factura expira pronto...", "Invoice expired": "La factura expiró", "What happened?": "¿Qué sucedió?", - "InvoiceExpired_Body_1": "Esta factura ha expirado. Una factura solo es válida por {{maxTimeMinutes}} minutos. \ Puede volver a {{storeName}} si desea volver a enviar su pago.", + "InvoiceExpired_Body_1": "Esta factura ha expirado. Una factura solo es válida por {{maxTimeMinutes}} minutos. Puede volver a {{storeName}} si desea volver a enviar su pago.", "InvoiceExpired_Body_2": "Si intentó enviar un pago, aún no ha sido aceptado por la red de Bitcoin. Todavía no hemos recibido sus fondos.", "InvoiceExpired_Body_3": "Si la transacción no es aceptada por la red de Bitcoin, los fondos se podrán gastar nuevamente en su billetera. Dependiendo de su billetera, esto puede tomar 48-72 horas.", "Invoice ID": "ID de factura", @@ -43,7 +43,7 @@ const locales_es = { "This invoice has been paid": "Esta factura ha sido pagada", // Invoice archived "This invoice has been archived": "Esta factura ha sido archivada", - "Archived_Body": "Por favor, comuníquese con la tienda para obtener información de su pedido o asistencia" + "Archived_Body": "Por favor, comuníquese con la tienda para obtener información de su pedido o asistencia", // Lightning "BOLT 11 Invoice": "Factura BOLT 11", "Node Info": "Información del nodo" diff --git a/BTCPayServer/wwwroot/js/checkout/langs/nl.js b/BTCPayServer/wwwroot/js/checkout/langs/nl.js index ef06337b3..4004f558b 100644 --- a/BTCPayServer/wwwroot/js/checkout/langs/nl.js +++ b/BTCPayServer/wwwroot/js/checkout/langs/nl.js @@ -45,7 +45,7 @@ Je kan terug komen naar {{storeName}} indien je nog eens je betaling wilt prober // Invoice archived "This invoice has been archived": "Deze factuur werd geactiveerd", "Archived_Body": "Bedankt om de winkel te contacteren voor bijstand met of informatie over deze bestelling", -+ // Lightning -+ "BOLT 11 Invoice": "BOLT 11 Factuur", -+ "Node Info": "Node Info" + // Lightning + "BOLT 11 Invoice": "BOLT 11 Factuur", + "Node Info": "Node Info" }; diff --git a/BTCPayServer/wwwroot/js/checkout/querystring.js b/BTCPayServer/wwwroot/js/checkout/querystring.js index cc911d965..de426446f 100644 --- a/BTCPayServer/wwwroot/js/checkout/querystring.js +++ b/BTCPayServer/wwwroot/js/checkout/querystring.js @@ -7,6 +7,7 @@ var urlParams; query = window.location.search.substring(1); urlParams = {}; - while (match = search.exec(query)) + while (match = search.exec(query)) { urlParams[decode(match[1])] = decode(match[2]); + } })();