static #2

Merged
bsod merged 41 commits from static into master 2020-10-30 19:47:46 +01:00
Showing only changes of commit ae9eaaf53d - Show all commits

View file

@ -39,7 +39,7 @@
function show_posts(myArr) {
var ar = myArr.graphql.user.edge_owner_to_timeline_media.edges;
var images = [];
var thumb_html;
var thumb_html = '';
var index = 0;
ar.forEach(element => {
@ -55,8 +55,8 @@
});
images.forEach(e => {
thumb_html += '<a href="' + e.url + '"><img class="images" src="'+ e.thumb_url + '"/></a>' <!-- Hier war die class falsch zugewiesen -->
}); <!-- Muss hier ein ";" hin? -->
thumb_html += '<a href="' + e.url + '"><img class="images" src="'+ e.thumb_url + '"/></a>' // Hier war die class falsch zugewiesen
}); // Muss hier ein ";" hin?
document.getElementById('ig_container').innerHTML = thumb_html;
}