| ... | ... |
@@ -67,8 +67,10 @@ function prettyDate(time){
|
| 67 | 67 |
} |
| 68 | 68 |
|
| 69 | 69 |
function getTwitterStatus(twitter_name){
|
| 70 |
+ var container = $(twitter_container); |
|
| 71 |
+ if(!container) return; |
|
| 70 | 72 |
var tweet_cookie = 'tweets_by_' + twitter_name + tweet_count; |
| 71 |
- $(twitter_container).set('html', 'Fetching tweets...');
|
|
| 73 |
+ container.set('html', 'Fetching tweets...');
|
|
| 72 | 74 |
if(!Cookie.read(tweet_cookie)) {
|
| 73 | 75 |
var myTwitterGitter = new TwitterGitter(twitter_name,{
|
| 74 | 76 |
count: ((show_replies) ? tweet_count : 15 + tweet_count), |