mirror of
https://github.com/moparisthebest/www.moparscape.org
synced 2024-11-05 08:55:10 -05:00
fixed twitter cookie saving
This commit is contained in:
parent
a91019b919
commit
a23a4734b4
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user