Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
chengyinliu
12y ago
0 comments
Save
Share
Just curious, is there any reason you used `$.each` instead of `$(".down.arrow").each`?
0 comments
2 comments · 2 top-level
top
newest
oldest
k3n
12y ago
Protip: you don't even need an each() at all[1].
So the above could be written:
$(".down.arrow").click();
1.
http://jsfiddle.net/k6FvQ/
hayksaakian
12y ago
seems like the more functional-style way of doing it
j
/
k
navigate · click thread line to collapse