Skip to content
Snippets Groups Projects
Commit d1ef73e9 authored by Eric Fischer's avatar Eric Fischer
Browse files

Don't renderAttrs unnecessarily

It is unneeded here, and causes bad behavior.
parent 10ca0a38
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment