1
0
Fork 0
mirror of synced 2024-06-27 10:41:00 +12:00

Ignore whitespace

This commit is contained in:
Eldad Fux 2020-04-27 21:34:52 +03:00
parent 98f97ccc0a
commit 718287544b

View file

@ -71,6 +71,10 @@
let value = array[index];
let tag = window.document.createElement("li");
if(!value || value === ' ') {
continue;
}
tag.className = "tag";
tag.textContent = value;