Use a js-class instead of an id for moderator-comment-actions
This commit is contained in:
@@ -4,4 +4,4 @@ App.ModeratorComments =
|
||||
$("##{id} .comment-body:first").addClass("faded")
|
||||
|
||||
hide_moderator_actions: (id) ->
|
||||
$("##{id} #moderator-comment-actions:first").hide()
|
||||
$("##{id} .js-moderator-comment-actions").hide()
|
||||
|
||||
Reference in New Issue
Block a user