Lee Morgan 5 gadi atpakaļ
vecāks
revīzija
2b25342bc0
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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);
                         }
                     }