Fixes the one broken thread in prod; it had no lettters in its ID, so the id was being cast to a number.
This commit is contained in:
@@ -106,7 +106,7 @@ if Backbone?
|
||||
for thread in @displayedCollection.models
|
||||
content = @renderThread(thread)
|
||||
rendered.append content
|
||||
content.wrap("<li class='list-item' data-id='#{thread.get('id')}' />")
|
||||
content.wrap("<li class='list-item' data-id='\"#{thread.get('id')}\"' />")
|
||||
|
||||
@$(".post-list").html(rendered.html())
|
||||
@renderMorePages()
|
||||
|
||||
Reference in New Issue
Block a user