Commit 55af5fd345dbe32e89b9c79d45c7070e28735d0a
1 parent
8c11cca1
Exists in
master
and in
2 other branches
Add switch-case for 'cultura' category (magic number)
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
js/main.js
| ... | ... | @@ -472,6 +472,10 @@ define(['jquery', 'handlebars', 'fastclick', 'proposal_app', 'handlebars_helpers |
| 472 | 472 | active_category = 'reducao-da-pobreza'; |
| 473 | 473 | category_id = 183; |
| 474 | 474 | break; |
| 475 | + case 'categories cultura': | |
| 476 | + active_category = 'cultura'; | |
| 477 | + category_id = 194; | |
| 478 | + break; | |
| 475 | 479 | } |
| 476 | 480 | |
| 477 | 481 | var topic_id = proposal_id.split('-').pop(); | ... | ... |