Clear transaction output when user starts typing a new transaction
This commit is contained in:
parent
8844ccb842
commit
9c098119b6
@ -1024,6 +1024,13 @@
|
||||
button.innerHTML = originalHTML;
|
||||
}
|
||||
}
|
||||
// Clear transaction output when user starts typing a new transaction
|
||||
const sendFormFields = ["privateKey", "recipientAddress", "sendAmount"];
|
||||
sendFormFields.forEach(fieldId => {
|
||||
document.getElementById(fieldId).addEventListener("input", () => {
|
||||
document.getElementById("sendOutput").innerHTML = "";
|
||||
});
|
||||
});
|
||||
|
||||
// Send Transaction functionality
|
||||
document
|
||||
|
||||
Loading…
Reference in New Issue
Block a user