# HG changeset patch # User veltr # Date 1364492691 -3600 # Node ID 9a82fbbf637787746eeefcc003da845916256ed4 # Parent 7c71148ea252e07535568b3bf3020cd987b009e5 tweet refresh fix diff -r 7c71148ea252 -r 9a82fbbf6377 js/playscreen.js --- a/js/playscreen.js Wed Mar 27 18:21:29 2013 +0100 +++ b/js/playscreen.js Thu Mar 28 18:44:51 2013 +0100 @@ -469,7 +469,6 @@ $(".play-tagcloud").html(localkeywords.map(cloudTemplate).join("")); throttledGetTweets(); - showTopicViz(); } @@ -493,7 +492,6 @@ selectedWord = false; function showTweets() { - var toshow = []; var topics = Array.prototype.join.call($(".topic.selected").map(function(){return $(this).attr("data-topic-id")})).split(","); @@ -774,7 +772,8 @@ var el = $(this); $(this).toggleClass("selected"); el.attr("data-timestamp", el.hasClass("selected") ? ++ordertag : 999999); - showTopicViz(); + throttledGetTweets(); + showTopicViz(); }); var h = Hammer($(".play-bottom")[0]);