Commit 931f70fe5065a2b1513a86b99bec68988eb3147f
1 parent
0bd2ff4c
Exists in
master
and in
10 other branches
Fix: display proposal by category do not change the 'active' tab.
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
js/main.js
| @@ -349,6 +349,8 @@ function display_proposal_by_category(item){ | @@ -349,6 +349,8 @@ function display_proposal_by_category(item){ | ||
| 349 | $('nav').show(); | 349 | $('nav').show(); |
| 350 | $('#content').show(); | 350 | $('#content').show(); |
| 351 | $('#proposal-categories').show(); | 351 | $('#proposal-categories').show(); |
| 352 | + $('#nav-proposal-categories a').addClass('active'); | ||
| 353 | + $('#nav-proposal-group a').removeClass('active'); | ||
| 352 | $('.proposal-category-items').hide(); | 354 | $('.proposal-category-items').hide(); |
| 353 | $('.proposal-detail').hide(); | 355 | $('.proposal-detail').hide(); |
| 354 | $item.show(); | 356 | $item.show(); |