set invisible instead of remove to preserve space of voting arrows when voting is disabled

This commit is contained in:
Mike Chen
2012-08-09 13:03:28 -04:00
parent 1bea419237
commit efad5632d8

View File

@@ -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"