diff --git a/index.html b/index.html index f8a54d6..f49e6e8 100644 --- a/index.html +++ b/index.html @@ -1699,9 +1699,7 @@
Tx:
- ${tx.txid.substring(0, 12)}...${tx.txid.substring( - tx.txid.length - 12 - )} + ${tx.txid.substring(0, 12)}...${tx.txid.substring(tx.txid.length - 12)}
@@ -2094,9 +2092,6 @@
Amount
${sendAmount} DOGE -
@@ -2120,7 +2115,7 @@
Transaction ID
- ${txid} + ${txid} @@ -2789,6 +2784,22 @@ }, 500); }, 1500); }); + function viewTransactionDetails(txid) { + const transactionRadio = document.querySelector('input[name="searchType"][value="transaction"]'); + if (transactionRadio) { + transactionRadio.checked = true; + toggleSearchType("transaction"); + } + + // Show the transactions page + showPage("transactionsPage"); + + // Set the txid in the search input + document.getElementById("txHash").value = txid; + + // Search for the transaction + searchTransactionDetails(); +}