|
|
|
@ -18,7 +18,8 @@ function display_suggestions(suggestions) {
|
|
|
|
|
let suggestion_body = '';
|
|
|
|
|
|
|
|
|
|
suggestions.forEach(element => {
|
|
|
|
|
suggestion_body += '<a href="' + element.post_link + '">' + element.post_link + ' - ' + element.points + ' points</a><br>';
|
|
|
|
|
// suggestion_body += '<a href="' + element.post_link + '">' + element.post_link + ' - ' + element.points + ' points</a><br>';
|
|
|
|
|
suggestion_body += '<iframe src="' + element.post_link + '/embed" class=\"mastodon-embed\" style="max-width: 100%; border: 0" width="400" allowfullscreen="allowfullscreen"></iframe><br>';
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
if(suggestion_body !== '') {
|
|
|
|
|