Skip to content

Commit ec0d264

Browse files
committed
Fixed twitter link
1 parent 86d3257 commit ec0d264

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

js/scripts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@
252252
var yql = 'http://query.yahooapis.com/v1/public/yql?q=' + encodeURIComponent('select * from json where url="' + twitterFeedUrl + '"') + '&format=json&callback=?';
253253
$.getJSON(yql, function(data) {
254254
$.each(data.query.results.json.json, function(i, gist) {
255-
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>';
255+
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>';
256256
$('#tweets').append(tweetElement);
257257
});
258258
animateTweets();

0 commit comments

Comments
 (0)