set invisible instead of remove to preserve space of voting arrows when voting is disabled
This commit is contained in:
@@ -387,4 +387,4 @@ initializeFollowThread = (thread) ->
|
||||
if not Discussion.getContentInfo id, 'can_openclose'
|
||||
$local(".discussion-openclose").remove()
|
||||
if not Discussion.getContentInfo id, 'can_vote'
|
||||
$local(".discussion-vote").remove()
|
||||
$local(".discussion-vote").css "visibility", "hidden"
|
||||
|
||||
Reference in New Issue
Block a user