aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/app/components/ens-input.js5
-rw-r--r--ui/app/components/pending-tx.js6
2 files changed, 6 insertions, 5 deletions
diff --git a/ui/app/components/ens-input.js b/ui/app/components/ens-input.js
index 04c6222c2..3e44d83af 100644
--- a/ui/app/components/ens-input.js
+++ b/ui/app/components/ens-input.js
@@ -168,6 +168,7 @@ EnsInput.prototype.ensIconContents = function (recipient) {
}
}
-function getNetworkEnsSupport(network) {
+function getNetworkEnsSupport (network) {
return Boolean(networkMap[network])
-} \ No newline at end of file
+}
+
diff --git a/ui/app/components/pending-tx.js b/ui/app/components/pending-tx.js
index bbdac3bc4..b084a1d2a 100644
--- a/ui/app/components/pending-tx.js
+++ b/ui/app/components/pending-tx.js
@@ -379,17 +379,17 @@ PendingTx.prototype.onSubmit = function (event) {
}
}
-PendingTx.prototype.checkValidity = function() {
+PendingTx.prototype.checkValidity = function () {
const form = this.getFormEl()
const valid = form.checkValidity()
return valid
}
-PendingTx.prototype.getFormEl = function() {
+PendingTx.prototype.getFormEl = function () {
const form = document.querySelector('form#pending-tx-form')
// Stub out form for unit tests:
if (!form) {
- return { checkValidity() { return true } }
+ return { checkValidity () { return true } }
}
return form
}