diff --git a/templates/tag.html b/templates/tag.html index 98e80ce..48d4db6 100644 --- a/templates/tag.html +++ b/templates/tag.html @@ -100,7 +100,7 @@ function showList(){ } } let labelsList = Array.from(labelsSet); - for(label in labelsList){ + for(label of labelsList){ tagList.push(label); let showLabels=document.createElement("button"); showLabels.setAttribute("class","Label");