Fixed twitter link

This commit is contained in:
Oleh Zasadnyy 2014-08-25 13:59:13 +03:00
parent 86d3257bb7
commit ec0d2648e5
2 changed files with 2 additions and 2 deletions

View file

@ -252,7 +252,7 @@
var yql = 'http://query.yahooapis.com/v1/public/yql?q=' + encodeURIComponent('select * from json where url="' + twitterFeedUrl + '"') + '&format=json&callback=?';
$.getJSON(yql, function(data) {
$.each(data.query.results.json.json, function(i, gist) {
var tweetElement = '<div class="tweet animated fadeInUp hidden"><p class="tweet-text">' + linkify(gist.text) + '</p><p class="tweet-meta">by <a href="https://twitter.com/' + gist.user.screen_name + ' target="_blank">@' + gist.user.screen_name + '</a></p></div>';
var tweetElement = '<div class="tweet animated fadeInUp hidden"><p class="tweet-text">' + linkify(gist.text) + '</p><p class="tweet-meta">by <a href="https://twitter.com/' + gist.user.screen_name + '" target="_blank">@' + gist.user.screen_name + '</a></p></div>';
$('#tweets').append(tweetElement);
});
animateTweets();

2
js/scripts.min.js vendored

File diff suppressed because one or more lines are too long