From: Matt Corallo Date: Fri, 12 Jul 2024 16:58:50 +0000 (+0000) Subject: Dont try to use a table for address info X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=e59ebee117d5aaeebb073ef94eab42bc9b7b0f3b;p=satsto.me Dont try to use a table for address info --- diff --git a/index.html b/index.html index e29102d..3a3a08c 100644 --- a/index.html +++ b/index.html @@ -183,14 +183,14 @@ const push_table_entry = function(ty, uri_pfx, contents) { var value = ""; if (!/^[\p{ASCII}]*$/u.test(contents)) { - value = "Invalid"; + value = "Invalid"; } else if (contents.length < 70) { - value = "" + contents + "" + CLIPBOARD_SVG + ""; + value = "" + contents + "" + CLIPBOARD_SVG + ""; } else { - value = "" + contents.substring(0, 70) + "..." + CLIPBOARD_SVG + ""; + value = "" + contents.substring(0, 70) + "..." + CLIPBOARD_SVG + ""; } addr_idx += 1; - addr_ty_table += "" + ty + "" + value + ""; + addr_ty_table += "
" + ty + "" + value + "
"; }; if (base_and_params[0].length != 0) { push_table_entry("On-Chain Non-Private Address", "", base_and_params[0]); @@ -210,7 +210,7 @@ const result_elem = document.getElementById("result"); result_elem.innerHTML = "Opening your bitcoin wallet to pay " + name + "! If it doesn't work, click here."; if (addr_ty_table != "") { - result_elem.innerHTML += "
" + addr_ty_table + "
TypeAddress
"; + result_elem.innerHTML += "
" + addr_ty_table; } window.location = bip353; }