Commit 245bb7ce by Rocky Duan

oops fixed following

parent 2e45f2d9
......@@ -16,6 +16,10 @@ class @DiscussionContentView extends Backbone.View
comments_count: (comments_count) ->
subscribed: (subscribed) ->
if subscribed
@$(".dogear").addClass("is-followed")
else
@$(".dogear").removeClass("is-followed")
ability: (ability) ->
for action, selector of @abilityRenderer
......
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