remove honk from page when zonking
Ted Unangst tedu@tedunangst.com
Sun, 02 Jun 2019 22:10:42 -0400
1 files changed,
8 insertions(+),
0 deletions(-)
jump to
M
views/honkpage.html
→
views/honkpage.html
@@ -61,6 +61,14 @@ if (e.getAttribute("data-convoy") == convoy) {
e.remove() } } + } else if (wherefore == "this honk") { + var p = el + while (p && p.tagName != "ARTICLE") { + p = p.parentElement + } + if (p) { + p.remove() + } } } </script>