Skip to content

Commit

Permalink
Fixed tag fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Yoshihara committed Jun 29, 2016
1 parent ad43bc6 commit 8ee9979
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ var TagCollection = BaseCollection.extend({
get_or_fetch:function(id){
var tag = this.get(id);
if(!tag){
tag = new TagModel({id:id});
tag = new TagModel(id);
tag.fetch({async:false});
if(tag){
this.add(tag);
Expand Down

0 comments on commit 8ee9979

Please sign in to comment.