Merge branch 'feature/tomg/new-discussions' of github.com:MITx/mitx into feature/tomg/new-discussions
This commit is contained in:
@@ -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()
|
||||
@
|
||||
|
||||
Reference in New Issue
Block a user