Skip to content

Commit c9b5e55

Browse files
committed
better error text for wrong mnemonic input
1 parent 0cabd29 commit c9b5e55

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rein/html/js/setup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function confirmMnemonic() {
6767
}
6868
for (var i = 0; i < conditions.length; i++) {
6969
if (conditions[i] == false) {
70-
errors = "Some of the words you entered are incorrect. Try again.\n";
70+
errors = "Some of the words you entered are incorrect. Please try again or restart the setup.";
7171
document.getElementById('errors').innerText = errors;
7272
return
7373
}

rein/html/setup.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ <h4 id="ajax-header">Sign Up</h4>
1515
</div>
1616
</div>
1717
<div class="row" style="color: red">
18-
<div class="col-sm-offset-1 col-sm-6" id="errors">
18+
<div class="col-sm-offset-1 col-sm-6" style="padding-bottom: 10px;" id="errors">
1919
</div>
2020
</div>
2121
<div id="ajax-elements">

0 commit comments

Comments
 (0)