mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2024-12-27 05:01:23 +01:00
Updated scripts
This commit is contained in:
parent
59106ff780
commit
dc375fbcf7
2 changed files with 2 additions and 2 deletions
|
@ -250,7 +250,7 @@
|
||||||
if (typeof twitterFeedUrl !== 'undefined') {
|
if (typeof twitterFeedUrl !== 'undefined') {
|
||||||
$.getJSON(twitterFeedUrl, function(data) {
|
$.getJSON(twitterFeedUrl, function(data) {
|
||||||
$.each(data, function(i, gist) {
|
$.each(data, 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);
|
$('#tweets').append(tweetElement);
|
||||||
});
|
});
|
||||||
animateTweets();
|
animateTweets();
|
||||||
|
|
2
js/scripts.min.js
vendored
2
js/scripts.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue