aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-03-24 06:01:05 +0800
committerDan Finlay <dan@danfinlay.com>2017-03-24 06:01:05 +0800
commit612bace17d8fb84fd755a30f03fc9075b4d967f1 (patch)
tree95215b0743def3a603733058fdd18eb877ee4713 /ui/app/components
parentbda821f14478b67b5fee6e862fc2a5458594e672 (diff)
downloadtangerine-wallet-browser-612bace17d8fb84fd755a30f03fc9075b4d967f1.tar.gz
tangerine-wallet-browser-612bace17d8fb84fd755a30f03fc9075b4d967f1.tar.zst
tangerine-wallet-browser-612bace17d8fb84fd755a30f03fc9075b4d967f1.zip
Prevent default for reset and reject buttons
Diffstat (limited to 'ui/app/components')
-rw-r--r--ui/app/components/pending-tx.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/components/pending-tx.js b/ui/app/components/pending-tx.js
index 75004b208..6753fc098 100644
--- a/ui/app/components/pending-tx.js
+++ b/ui/app/components/pending-tx.js
@@ -286,8 +286,9 @@ PendingTx.prototype.render = function () {
: null,
h('button', {
- onClick: () => {
+ onClick: (event) => {
this.resetGasFields()
+ event.preventDefault()
},
}, 'Reset'),