Update tag.html

This commit is contained in:
Meekdai 2023-11-21 17:03:31 +08:00
parent e67297b6fd
commit c2cc3beb43

View File

@ -109,7 +109,7 @@ tag=window.location.hash.slice(1)
function showList(jsonData){
let SideNav=document.getElementsByClassName("SideNav")[0];
for(let i=1;i<jsonData.length;i++){
for(i in jsonData["postListJson"]){
if(jsonData["postListJson"][i]['label']==tag || tag==''){
let item=document.createElement("a");