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) {
var existing = _.map(suggested, function(topic){
return topic.get("id");
});
var existing = _.invoke(suggested, 'get', 'id');
var lookup = _.chain(incoming)
.last(5)