Commit 01462a475906890c7f78f479699c433133b3e71c
1 parent
3bf2db11
Exists in
master
and in
6 other branches
put break in calendar
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
js/main.js
| ... | ... | @@ -250,12 +250,16 @@ define(['handlebars', 'fastclick', 'handlebars_helpers'], function(Handlebars, F |
| 250 | 250 | switch($proposal.find('.categories').attr('class')) { |
| 251 | 251 | case 'categories saude': |
| 252 | 252 | active_category = 'saude'; |
| 253 | + break; | |
| 253 | 254 | case 'categories educacao': |
| 254 | 255 | active_category = 'educacao'; |
| 256 | + break; | |
| 255 | 257 | case 'categories seguranca-publica': |
| 256 | 258 | active_category = 'seguranca-publica'; |
| 259 | + break; | |
| 257 | 260 | case 'categories reducao-da-pobreza': |
| 258 | 261 | active_category = 'reducao-da-pobreza'; |
| 262 | + break; | |
| 259 | 263 | } |
| 260 | 264 | |
| 261 | 265 | $proposal.find('.calendar.' + active_category).show(); | ... | ... |