Commit bba82bb2fc13529870cd300f75c48bc38b2c1cf9

Authored by Leonardo Merlin
1 parent 145988d0

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
... ...