aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/pending-tx.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/pending-tx.js')
-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'),