Don't renderAttrs unnecessarily

It is unneeded here, and causes bad behavior.
This commit is contained in:
Eric Fischer
2016-01-25 14:03:26 -05:00
parent 10ca0a3870
commit d1ef73e90a

View File

@@ -278,7 +278,6 @@ if Backbone?
comment = new Comment(body: body, created_at: (new Date()).toISOString(), username: window.user.get("username"), votes: { up_count: 0 }, abuse_flaggers:[], endorsed: false, user_id: window.user.get("id"))
comment.set('thread', @model.get('thread'))
@renderResponseToList(comment, ".js-response-list")
@renderAttrs()
@model.addComment()
@renderAddResponseButton()