From c5dbbea5504d96039364c7f86b6413910cd5de1c Mon Sep 17 00:00:00 2001 From: David Wu Date: Wed, 20 Dec 2017 01:48:42 +0100 Subject: [PATCH] delete old --- static-parts/index-start.html | 8 -------- 1 file changed, 8 deletions(-) diff --git a/static-parts/index-start.html b/static-parts/index-start.html index fcea8fc10..6e83a89df 100644 --- a/static-parts/index-start.html +++ b/static-parts/index-start.html @@ -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"; - // } - // } }