diff options
author | ache <ache@ache.one> | 2019-02-22 06:40:14 +0100 |
---|---|---|
committer | ache <ache@ache.one> | 2019-02-22 06:40:14 +0100 |
commit | b1220645534785581adc99c1df3017ee482f0134 (patch) | |
tree | 5b1f0cda581c990ccfdff88d9b23b66e0e1627ea | |
parent | Format pipeline (diff) |
Filter on link delete
-rw-r--r-- | dir.html | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -31,7 +31,7 @@ <div class="mkdirDiv"> </div> </section> -<div id="footer">Create with love 💟</div> +<div id="footer">Create with love 💟 bye <a href="https//ache.one">ache</a></div> <script language="javascript"> const input = document.getElementById('fileinput'); @@ -104,7 +104,7 @@ const deleteMethode = (url, th) => { const onPageLoad = () => { const as = Array.from(document.getElementsByTagName('a')); - as.forEach( e => { + as.filter( e => e.parentNode.parentNode.tagName == "TR").forEach( e => { const a = document.createElement('a'); const td = document.createElement('td'); a.appendChild(document.createTextNode('🗙')); |