[source/keys:fix] HN collapseNextComment

This commit is contained in:
Maddison Hellstrom 2020-05-28 18:31:12 -07:00
parent 675a3b81a9
commit 262e95f95f
1 changed files with 1 additions and 1 deletions

View File

@ -614,7 +614,7 @@ actions.hn.goParent = () => {
actions.hn.collapseNextComment = () => {
const vis = Array.from(document.querySelectorAll("a.togg"))
.filter((e) => e.innerText === "[-]" && util.isElementInViewport(e))
.filter((e) => e.innerText === "[]" && util.isElementInViewport(e))
if (vis.length > 0) {
vis[0].click()
}