diff --git a/templates/tag.html b/templates/tag.html
index 9c59461..4acf1f0 100644
--- a/templates/tag.html
+++ b/templates/tag.html
@@ -91,7 +91,7 @@ function showList(){
tagLable.appendChild(showLabels);
}
for(i in jsonData){
- for(label in jsonData[i]['labels']){
+ for(label of jsonData[i]['labels']){
if(!(tagList.includes(label))){
tagList.push(label);
let showLabels=document.createElement("button");
@@ -129,7 +129,7 @@ function showList(){
let listLabels=document.createElement("div");
listLabels.setAttribute("class","listLabels");
- for(label in jsonData[i]['labels']){
+ for(label of jsonData[i]['labels']){
let LabelName=document.createElement("span");
LabelName.setAttribute("class","Label LabelName");
LabelName.setAttribute("style","background-color:"+jsonData['labelColorDict'][label]);