Browse code

fixed twitter cookie saving

B Mathis authored on 12/11/2009 at 19:22:31
Showing 1 changed files
... ...
@@ -69,7 +69,7 @@ function prettyDate(time){
69 69
 function getTwitterStatus(twitter_name){
70 70
   var tweet_cookie = 'tweets_by_' + twitter_name + tweet_count;
71 71
   $(twitter_container).set('html', 'Fetching tweets...');
72
-  if(Cookie.read(tweet_cookie)) {
72
+  if(!Cookie.read(tweet_cookie)) {
73 73
   	var myTwitterGitter = new TwitterGitter(twitter_name,{
74 74
   	  count: ((show_replies) ? tweet_count : 15 + tweet_count),
75 75
   		onComplete: function(tweets,user) {