Lee Morgan 5 ani în urmă
părinte
comite
2b25342bc0
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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);
                         }
                     }