Fixes #964 JavaScript bug when post edits requires moderation.

#964
Remove overqualified selector
Forgot dot
Redirects when the only post in the page is unapproved
Merge pull request #1117 from PirataNervo/featurefix-964

Fixes #964 JavaScript bug when post edits requires moderation.