Commit bfe55e1acbd27db72c69781cf7c8de7ec12d6c5f
1 parent
70bc2f2b
Exists in
master
and in
5 other branches
Fix events
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
js/main.js
... | ... | @@ -731,7 +731,7 @@ define(['jquery', 'handlebars', 'fastclick', 'proposal_app', 'handlebars_helpers |
731 | 731 | // FIXME fix api and remove this |
732 | 732 | var article;//data.articles[0]; |
733 | 733 | for(var i=0; i<data.articles.length; i++) { |
734 | - if($.grep(data.articles[i].categorues, function(e){ return e.id == cat_id; }).length>0) { | |
734 | + if($.grep(data.articles[i].categories, function(e){ return e.id == cat_id; }).length>0) { | |
735 | 735 | article = data.articles[i]; |
736 | 736 | } |
737 | 737 | } | ... | ... |