Ignore whitespace
This commit is contained in:
parent
98f97ccc0a
commit
718287544b
|
@ -71,6 +71,10 @@
|
|||
let value = array[index];
|
||||
let tag = window.document.createElement("li");
|
||||
|
||||
if(!value || value === ' ') {
|
||||
continue;
|
||||
}
|
||||
|
||||
tag.className = "tag";
|
||||
tag.textContent = value;
|
||||
|
||||
|
|
Loading…
Reference in a new issue