Commit 4a3975c7 by Rocky Duan

adjusted frontend stuff

parent a90af0c4
......@@ -89,7 +89,7 @@ class @ContentView extends Backbone.View
ability: (ability) ->
for action, elemSelector of @model.actions
if not ability[action]
@$(elemSelector).remove()
@$(elemSelector).parent().remove()
$discussionContent: ->
@_discussionContent ||= @$el.children(".discussion-content")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment