Lee Morgan 5 年之前
父节点
当前提交
2b25342bc0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      views/main/index.html

+ 1 - 1
views/main/index.html

@@ -260,7 +260,7 @@
                             let tag = document.createElement("button");
                             tag.innerText = response[i].tags[j];
                             tag.classList.add("tag");
-                            tag.onclick = ()=>{populateBlogs(searchTags(response, response[i].tags[j]))};
+                            tag.onclick = ()=>{populateBlogs(searchTags(response, response[i].tags[j].toLowerCase()))};
                             tagContainer.appendChild(tag);
                         }
                     }