reddit-mode: fix handling of current link
commit8a817b3e8a1af9ea6fb9d0e931aab157e5af2c69
authorJohn Foerch <jjfoerch@earthlink.net>
Mon, 23 Apr 2012 23:03:13 +0000 (23 19:03 -0400)
committerJohn Foerch <jjfoerch@earthlink.net>
Mon, 23 Apr 2012 23:08:04 +0000 (23 19:08 -0400)
tree0e0d099e31c223c0feee0a55156ebd80d29a7a4f
parent4889fc9b2d05b30fa8ee680542652ce6f57eb3a5
reddit-mode: fix handling of current link

There is a sidebar on reddit for recently-viewed items, and items in this
sidebar can sometimes have the 'last-clicked' class, which caused various
commands in reddit-mode to find the wrong link.  This patch makes the
selectors more specific so that only a 'last-clicked' link in the main
content area will be found.
modules/page-modes/reddit.js