honestbleeps/Reddit-Enhancement-Suite — Issue #58: Spam button causing error in JS Console.
Author: tico24
Created: 2012-01-10 19:14:55+00:00
State: open

- RES Version: 4.0.3
- Browser: Chrome
- Browser Version: 16
- Cookies Enabled: true
- Platform: Mac

When trying to report this user as a spammer: http://www.reddit.com/user/tfotilessydney
the spam link fails to work and the following error appears in my javascript console.

Uncaught TypeError: Cannot read property 'href' of null
modules.spamButton.reportPost

I'm guessing the problem is caused by the fact that the spammer hasn't made any posts before, just one comment.

Didn't want to post this on /r/enhancement because I didn't want to highlight the sample spammer too much.