aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-03-24 05:55:59 +0800
committerDan Finlay <dan@danfinlay.com>2017-03-24 05:55:59 +0800
commit55e8a717e6a1187381c10d7ad2f9da57888e4fd8 (patch)
treedf2529a1c2d745d9c66f78d7f12328deb75a0bd1 /ui
parent6b100163e9a3c2ca614c91d0bbc7f5c4b1a7a730 (diff)
downloadtangerine-wallet-browser-55e8a717e6a1187381c10d7ad2f9da57888e4fd8.tar
tangerine-wallet-browser-55e8a717e6a1187381c10d7ad2f9da57888e4fd8.tar.gz
tangerine-wallet-browser-55e8a717e6a1187381c10d7ad2f9da57888e4fd8.tar.bz2
tangerine-wallet-browser-55e8a717e6a1187381c10d7ad2f9da57888e4fd8.tar.lz
tangerine-wallet-browser-55e8a717e6a1187381c10d7ad2f9da57888e4fd8.tar.xz
tangerine-wallet-browser-55e8a717e6a1187381c10d7ad2f9da57888e4fd8.tar.zst
tangerine-wallet-browser-55e8a717e6a1187381c10d7ad2f9da57888e4fd8.zip
Fix some broken refs
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/pending-tx.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/pending-tx.js b/ui/app/components/pending-tx.js
index f550c1d35..75004b208 100644
--- a/ui/app/components/pending-tx.js
+++ b/ui/app/components/pending-tx.js
@@ -72,7 +72,7 @@ PendingTx.prototype.render = function () {
const valid = form.checkValidity()
this.setState({ valid })
- if (valid && this.refs.details.verifyGasParams()) {
+ if (valid && this.verifyGasParams()) {
props.sendTransaction(txData, event)
} else {
this.props.dispatch(actions.displayWarning('Invalid Gas Parameters'))
@@ -287,7 +287,7 @@ PendingTx.prototype.render = function () {
h('button', {
onClick: () => {
- this.refs.details.resetGasFields()
+ this.resetGasFields()
},
}, 'Reset'),