mirror of
https://github.com/bigchaindb/site.git
synced 2024-11-22 01:36:55 +01:00
disable post button upon first click
This commit is contained in:
parent
0f24e1f503
commit
14cfeddd80
@ -96,6 +96,7 @@ window.addEventListener('DOMContentLoaded', function domload(event) {
|
||||
e.preventDefault()
|
||||
|
||||
const message = messageInput.value
|
||||
postButton.classList.add('disabled')
|
||||
|
||||
const alice = new driver.Ed25519Keypair()
|
||||
const tx = driver.Transaction.makeCreateTransaction(
|
||||
@ -128,7 +129,6 @@ window.addEventListener('DOMContentLoaded', function domload(event) {
|
||||
|
||||
transactionLink.href = bigchaindbUrl + apiPath + 'transactions/' + response.id
|
||||
|
||||
postButton.classList.add('disabled')
|
||||
postButton.style.opacity = 0
|
||||
|
||||
responseArea.children[0].classList.add('nyan')
|
||||
|
Loading…
Reference in New Issue
Block a user