diff --git a/js/jquery.socialfeed.js b/js/jquery.socialfeed.js index 0c694bc..9f0b0f6 100644 --- a/js/jquery.socialfeed.js +++ b/js/jquery.socialfeed.js @@ -257,6 +257,8 @@ if (typeof Object.create !== 'function') { utility: { getPosts: function(json) { if (json) { + if(json.length 0 ){ $.each(json.query.results.feed, function(index, element) { var post = new SocialFeedPost('rss', Feed.rss.utility.unifyPostData(index, element));