aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB Mathis <brandon@imathis.com>2009-11-12 13:22:31 -0600
committerB Mathis <brandon@imathis.com>2009-11-12 13:22:31 -0600
commita23a4734b48c34158b7aab8d6431b6157c8ab7e2 (patch)
tree762a0fccba857749cf76a1165035003749b1ff0b
parenta91019b9199084d8108876886992716bcf2b8396 (diff)
downloadmy_new_personal_website-a23a4734b48c34158b7aab8d6431b6157c8ab7e2.tar.xz
my_new_personal_website-a23a4734b48c34158b7aab8d6431b6157c8ab7e2.zip
fixed twitter cookie saving
-rw-r--r--source/javascripts/twitter.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/javascripts/twitter.js b/source/javascripts/twitter.js
index 9c793b33..2d8769ab 100644
--- a/source/javascripts/twitter.js
+++ b/source/javascripts/twitter.js
@@ -69,7 +69,7 @@ function prettyDate(time){
function getTwitterStatus(twitter_name){
var tweet_cookie = 'tweets_by_' + twitter_name + tweet_count;
$(twitter_container).set('html', 'Fetching tweets...');
- if(Cookie.read(tweet_cookie)) {
+ if(!Cookie.read(tweet_cookie)) {
var myTwitterGitter = new TwitterGitter(twitter_name,{
count: ((show_replies) ? tweet_count : 15 + tweet_count),
onComplete: function(tweets,user) {