Commit 99ad4c0b by Matthew Mongeau

Temporary fix for topictext issues.

parent 722ce53e
......@@ -9,7 +9,6 @@ class @DiscussionThreadListView extends Backbone.View
initialize: ->
@displayedCollection = new Discussion(@collection.models)
console.log @displayedCollection
render: ->
@timer = 0
......@@ -19,7 +18,6 @@ class @DiscussionThreadListView extends Backbone.View
@
renderThreads: =>
console.log "rendering"
@$(".post-list").html("")
@displayedCollection.each @renderThreadListItem
@trigger "threads:rendered"
......
......@@ -63,7 +63,8 @@ class @NewPostView extends Backbone.View
console.log $target
setSelectedTopic: ->
@dropdownButton.html(@fitName(@topicText) + ' <span class="drop-arrow">▾</span>')
if @topicText
@dropdownButton.html(@fitName(@topicText) + ' <span class="drop-arrow">▾</span>')
getFullTopicName: (topicElement) ->
name = topicElement.html()
......
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