Skip to content

Commit

Permalink
Moved hiding
Browse files Browse the repository at this point in the history
  • Loading branch information
brendannee committed Mar 24, 2012
1 parent 7867fdf commit 94c2b61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/js/script.js
Expand Up @@ -81,8 +81,6 @@ $(document).ready(function(){
renderTweets(tweetQueue);
tweetQueue = [];

$('#loading').hide();

//remove elements from the dom every 10 tweets
if(tweetDivs.length > 60){
var tweetsToRemove = $('#tweets .tweet:lt(' + (tweetDivs.length - 50) +')');
Expand All @@ -96,6 +94,8 @@ $(document).ready(function(){
}

function renderTweets(tweets){
$('#loading').hide();

var content = $('<div>');
tweets.forEach(function(tweet){
//update format to match standard stream
Expand Down

0 comments on commit 94c2b61

Please sign in to comment.