diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2017-03-02 06:37:51 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2017-03-02 06:37:51 +0800 |
commit | 0ac1f749fd68244682d0f2c763028cdf6aa29486 (patch) | |
tree | 1ce3ebac2f18f119dc12ad09b35bd1a8a6af9f38 /ui/app/components/pending-tx.js | |
parent | 5f378d382e008ef577223055c9674c25e2e6bba4 (diff) | |
download | tangerine-wallet-browser-0ac1f749fd68244682d0f2c763028cdf6aa29486.tar tangerine-wallet-browser-0ac1f749fd68244682d0f2c763028cdf6aa29486.tar.gz tangerine-wallet-browser-0ac1f749fd68244682d0f2c763028cdf6aa29486.tar.bz2 tangerine-wallet-browser-0ac1f749fd68244682d0f2c763028cdf6aa29486.tar.lz tangerine-wallet-browser-0ac1f749fd68244682d0f2c763028cdf6aa29486.tar.xz tangerine-wallet-browser-0ac1f749fd68244682d0f2c763028cdf6aa29486.tar.zst tangerine-wallet-browser-0ac1f749fd68244682d0f2c763028cdf6aa29486.zip |
Various improvements to gas input.
Diffstat (limited to 'ui/app/components/pending-tx.js')
-rw-r--r-- | ui/app/components/pending-tx.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ui/app/components/pending-tx.js b/ui/app/components/pending-tx.js index d39cbc0f8..ed366aa45 100644 --- a/ui/app/components/pending-tx.js +++ b/ui/app/components/pending-tx.js @@ -60,12 +60,18 @@ PendingTx.prototype.render = function () { }, [ props.insufficientBalance ? - h('button.btn-green', { + h('button', { onClick: props.buyEth, }, 'Buy Ether') : null, - h('button.confirm', { + h('button', { + onClick: () => { + this.refs.details.resetGasFields() + }, + }, 'Reset'), + + h('button.confirm.btn-green', { disabled: props.insufficientBalance, onClick: props.sendTransaction, }, 'Accept'), @@ -73,12 +79,6 @@ PendingTx.prototype.render = function () { h('button.cancel.btn-red', { onClick: props.cancelTransaction, }, 'Reject'), - - h('button', { - onClick: () => { - this.refs.details.resetGasFields() - }, - }, 'Reset'), ]), ]) ) |