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:
Arjun Singh
2012-09-14 22:55:45 -07:00
parent b5351cc584
commit 7c86f324ea

View File

@@ -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()