Widget:DragonballWikiNews: Unterschied zwischen den Versionen
Aus DragonballWiki
Weitere Optionen
Inhalt gelöscht Inhalt hinzugefügt
| Zeile 82: | Zeile 82: | ||
// INITIALISATION |
// INITIALISATION |
||
defer(function () { |
defer(function () { |
||
$.getJSON("https://mastodon.social/api/v1/accounts/295223/statuses?exclude_reblogs=1&exclude_replies&limit= |
$.getJSON("https://mastodon.social/api/v1/accounts/295223/statuses?exclude_reblogs=1&exclude_replies&limit=7", function (data) { |
||
initialize(data); |
initialize(data); |
||
}) |
}) |
||
| Zeile 96: | Zeile 96: | ||
$.each(postData, function (key, value) { |
$.each(postData, function (key, value) { |
||
if (value.card !== null && value.media_attachments == |
if (value.card !== null && value.media_attachments == "[]") { |
||
var link = value.url; |
var link = value.url; |
||
Version vom 1. November 2023, 20:18 Uhr
DragonballWiki News Widget.