This commit is contained in:
David Wu
2017-12-20 01:48:48 +01:00
parent f1a212dc48
commit fbb79d6039

View File

@ -30,14 +30,6 @@
tags = Array.from(document.querySelector('#snippetListDrawer').getElementsByTagName('a'));
tags.forEach(x => {x.getAttribute("href").toUpperCase().indexOf(filter) > -1 ? x.style.display = "" : x.style.display = "none"});
// for(var i = 0; i < tags.length; i++) {
// var snippetLink = tags[i].getAttribute("href");
// if (snippetLink.toUpperCase().indexOf(filter) > -1) {
// tags[i].style.display = "";
// } else {
// tags[i].style.display = "none";
// }
// }
}
</script>
<body>