Commit 27999dacee9e46b118c931e46b58d56876beddf5

Authored by Victor Costa
1 parent 776c1a20

Fix display events

Showing 1 changed file with 1 additions and 2 deletions   Show diff stats
@@ -379,6 +379,7 @@ define(['jquery', 'handlebars', 'fastclick', 'handlebars_helpers', 'piwik'], fun @@ -379,6 +379,7 @@ define(['jquery', 'handlebars', 'fastclick', 'handlebars_helpers', 'piwik'], fun
379 379
380 var topic_id = proposal_id.split('-').pop(); 380 var topic_id = proposal_id.split('-').pop();
381 this.loadRandomProposal(topic_id); 381 this.loadRandomProposal(topic_id);
  382 + Main.display_events();
382 }, 383 },
383 display_proposal_detail: function(proposal_id){ 384 display_proposal_detail: function(proposal_id){
384 $('.content').removeClass('background'); /* Remove class background */ 385 $('.content').removeClass('background'); /* Remove class background */
@@ -804,7 +805,6 @@ define(['jquery', 'handlebars', 'fastclick', 'handlebars_helpers', 'piwik'], fun @@ -804,7 +805,6 @@ define(['jquery', 'handlebars', 'fastclick', 'handlebars_helpers', 'piwik'], fun
804 805
805 // Update URL and Navigate 806 // Update URL and Navigate
806 Main.updateHash($link.attr('href')); 807 Main.updateHash($link.attr('href'));
807 - Main.display_events();  
808 }); 808 });
809 809
810 $( '.proposal-item a' ).on('click', function(e){ 810 $( '.proposal-item a' ).on('click', function(e){
@@ -823,7 +823,6 @@ define(['jquery', 'handlebars', 'fastclick', 'handlebars_helpers', 'piwik'], fun @@ -823,7 +823,6 @@ define(['jquery', 'handlebars', 'fastclick', 'handlebars_helpers', 'piwik'], fun
823 823
824 // Update URL and Navigate 824 // Update URL and Navigate
825 Main.updateHash($link.attr('href')); 825 Main.updateHash($link.attr('href'));
826 - Main.display_events();  
827 }); 826 });
828 827
829 $( '.proposal-category .go-back' ).on('click', function(e){ 828 $( '.proposal-category .go-back' ).on('click', function(e){