Update tag.html
This commit is contained in:
parent
11ce33e617
commit
ddad57bc46
@ -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]);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user