This commit is contained in:
Jeremy Thomas
2024-01-19 13:39:17 +00:00
parent 4268eb3e37
commit 2983ef2e5e
6 changed files with 2322 additions and 1894 deletions

View File

@@ -85,6 +85,7 @@ document.addEventListener("DOMContentLoaded", function () {
// Amis
var $amis = document.getElementById("amis");
var $pied = document.getElementById("pied");
if ($amis) {
fetch("https://jgthms.com/amis/new.json").then(function (response) {
@@ -107,7 +108,12 @@ document.addEventListener("DOMContentLoaded", function () {
el.appendChild(img);
$amis.appendChild(el);
if (item.pied && $pied) {
el.className = "bd-sponsor-item bd-footer-sponsor";
$pied.appendChild(el);
}
});
});
}
});
});