Small fixes.

This commit is contained in:
Revertron
2021-05-05 11:50:00 +02:00
parent ec635b19f2
commit 969e414907
3 changed files with 8 additions and 13 deletions
+2 -2
View File
@@ -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);
});