4
1
mirror of https://github.com/Qortal/qortal-ui.git synced 2025-02-11 17:55:51 +00:00

Message max to 5 seconds

This commit is contained in:
AlphaX-Projects 2022-03-03 17:03:57 +01:00 committed by GitHub
parent f3a9150034
commit 5304d625ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -270,6 +270,14 @@ class SendMoneyPage extends LitElement {
// Get DOGE Balance
this.updateDOGEAccountBalance()
setInterval(() => {
this.errorMessage = '';
}, 5000)
setInterval(() => {
this.successMessage = '';
}, 5000)
window.addEventListener('contextmenu', (event) => {
event.preventDefault()
this._textMenu(event)
@ -561,7 +569,6 @@ class SendMoneyPage extends LitElement {
throw new Error(txnResponse)
}
}
validateReceiver(recipient)
}