From bba82bb2fc13529870cd300f75c48bc38b2c1cf9 Mon Sep 17 00:00:00 2001 From: Leonardo Merlin Date: Tue, 5 May 2015 08:00:31 -0300 Subject: [PATCH] Fix #185 --- js/main.js | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/js/main.js b/js/main.js index 4229a2c..a36c452 100644 --- a/js/main.js +++ b/js/main.js @@ -439,6 +439,9 @@ define(['handlebars','handlebars_helpers'], function(Handlebars){ if(isSubpage){ // return to proposal page newHash = oldHash.split('/sobre-o-programa')[0]; + }else{ + $link = $(this).siblings('.proposal-link'); + newHash = $link.attr('href'); } // Update URL and Navigate -- libgit2 0.21.2