aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/pending-tx.js
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2017-03-02 06:37:51 +0800
committerKevin Serrano <kevgagser@gmail.com>2017-03-02 06:37:51 +0800
commit0ac1f749fd68244682d0f2c763028cdf6aa29486 (patch)
tree1ce3ebac2f18f119dc12ad09b35bd1a8a6af9f38 /ui/app/components/pending-tx.js
parent5f378d382e008ef577223055c9674c25e2e6bba4 (diff)
downloadtangerine-wallet-browser-0ac1f749fd68244682d0f2c763028cdf6aa29486.tar.gz
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.js16
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'),
]),
])
)