Small fixes.
This commit is contained in:
@@ -265,7 +265,7 @@
|
||||
Just list your contacts, separated by new line.</p>
|
||||
<div class="buttons is-grouped is-centered">
|
||||
<button class="button is-link" id="contacts_positive_button" onclick="contactsPositiveButton();">Ok</button>
|
||||
<button class="button is-link is-light" id="contacts_negative_button" onclick="contactsCancelButton();">Cancel</button>
|
||||
<button class="button is-link is-light" id="contacts_negative_button" onclick="contactsNegativeButton();">Cancel</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -284,7 +284,7 @@
|
||||
<p class="help mb-3">You can add some description to your domain if you wish for users or search engines to know what is it about.</p>
|
||||
<div class="buttons is-grouped is-centered">
|
||||
<button class="button is-link" id="info_positive_button" onclick="infoPositiveButton();">Ok</button>
|
||||
<button class="button is-link is-light" id="info_negative_button" onclick="infoCancelButton();">Cancel</button>
|
||||
<button class="button is-link is-light" id="info_negative_button" onclick="infoNegativeButton();">Cancel</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -248,8 +248,8 @@ function createDomain() {
|
||||
function getContacts() {
|
||||
var result = [];
|
||||
var text = document.getElementById("contacts_text").value;
|
||||
if (value != "") {
|
||||
var lines = value.split("\n");
|
||||
if (text != "") {
|
||||
var lines = text.split("\n");
|
||||
lines.forEach(function(value, index, array) {
|
||||
result.push(value);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user