Commit bba82bb2fc13529870cd300f75c48bc38b2c1cf9
1 parent
145988d0
Exists in
master
and in
8 other branches
Fix #185
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
js/main.js
| ... | ... | @@ -439,6 +439,9 @@ define(['handlebars','handlebars_helpers'], function(Handlebars){ |
| 439 | 439 | if(isSubpage){ |
| 440 | 440 | // return to proposal page |
| 441 | 441 | newHash = oldHash.split('/sobre-o-programa')[0]; |
| 442 | + }else{ | |
| 443 | + $link = $(this).siblings('.proposal-link'); | |
| 444 | + newHash = $link.attr('href'); | |
| 442 | 445 | } |
| 443 | 446 | |
| 444 | 447 | // Update URL and Navigate | ... | ... |