semicolon for the greater good
This commit is contained in:
parent
bdac13b636
commit
e16621077a
|
@ -113,7 +113,7 @@ Discourse.Category = Discourse.Model.extend({
|
|||
latestTopic: function(){
|
||||
var topics = this.get('topics');
|
||||
if (topics && topics.length) {
|
||||
return topics[0]
|
||||
return topics[0];
|
||||
}
|
||||
}.property("topics"),
|
||||
|
||||
|
|
Loading…
Reference in New Issue