remove voting arrows if one cannot vote

This commit is contained in:
Mike Chen
2012-08-09 12:12:43 -04:00
parent 2fae27d582
commit 46a7c51df5
2 changed files with 3 additions and 0 deletions

View File

@@ -386,3 +386,5 @@ initializeFollowThread = (thread) ->
$local(".discussion-delete").remove()
if not Discussion.getContentInfo id, 'can_openclose'
$local(".discussion-openclose").remove()
if not Discussion.getContentInfo id, 'can_vote'
$local(".discussion-vote").remove()