Commit dcf1b1db by Matthew Mongeau

Timeago comments correctly.

parent 38b9b53a
......@@ -16,8 +16,6 @@ class @DiscussionRouter extends Backbone.Router
allThreads: ->
@nav.updateSidebar()
# TODO: Do something reasonable here
# $(".discussion-column").html($('#blank-slate-template').html())
setActiveThread: =>
if @thread
......
......@@ -10,7 +10,7 @@ class @ResponseCommentView extends DiscussionContentView
@initLocal()
@delegateEvents()
@renderAttrs()
@$(".timeago").timeago()
@$el.find(".timeago").timeago()
@convertMath()
@
convertMath: ->
......
......@@ -15,7 +15,7 @@ class @ThreadResponseView extends DiscussionContentView
if window.user.voted(@model)
@$(".vote-btn").addClass("is-cast")
@renderAttrs()
@$(".posted-details").timeago()
@$el.find(".posted-details").timeago()
@convertMath()
@renderComments()
@
......
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