mirror of
https://github.com/jgthms/bulma
synced 2026-03-18 03:14:30 -07:00
Fix #3692
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user