build
This commit is contained in:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user