This commit is contained in:
Sam 2013-06-12 16:00:43 +10:00
parent 165751e71b
commit 2a43d70869

View file

@ -143,9 +143,7 @@ Discourse.TopicView = Discourse.View.extend(Discourse.Scrolling, {
if(suggested) { if(suggested) {
var existing = _.map(suggested, function(topic){ var existing = _.invoke(suggested, 'get', 'id');
return topic.get("id");
});
var lookup = _.chain(incoming) var lookup = _.chain(incoming)
.last(5) .last(5)