display current events based on track

This commit is contained in:
AnithaPal 2016-09-26 14:46:46 -04:00
parent e82a3e1727
commit 514a88e0be
10 changed files with 56 additions and 39 deletions

View file

@ -0,0 +1,4 @@
$('#current-events').html("#{escape_javascript(render 'current_events', data: @current_events)}");
$('#conference-tweets').html("#{escape_javascript(render 'conference_tweets', data: @tweets)}");
$('#tweet-container').children().hide();
$('#tweet-container').children().eq(0).show();