mirror of
https://github.com/jgthms/bulma
synced 2026-03-24 05:49:35 -07:00
Fix build issue
This commit is contained in:
@@ -97,6 +97,7 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||
|
||||
const $amis = document.getElementById("amis");
|
||||
|
||||
if ($amis) {
|
||||
fetch("https://jgthms.com/amis/new.json")
|
||||
.then((response) => {
|
||||
if (!response.ok) {
|
||||
@@ -120,5 +121,6 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||
el.appendChild(img);
|
||||
$amis.appendChild(el);
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
2
docs/css/bulma-docs.min.css
vendored
2
docs/css/bulma-docs.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -86,6 +86,7 @@ document.addEventListener("DOMContentLoaded", function () {
|
||||
|
||||
var $amis = document.getElementById("amis");
|
||||
|
||||
if ($amis) {
|
||||
fetch("https://jgthms.com/amis/new.json").then(function (response) {
|
||||
if (!response.ok) {
|
||||
throw new Error("HTTP error! Status: " + response.status);
|
||||
@@ -107,5 +108,6 @@ document.addEventListener("DOMContentLoaded", function () {
|
||||
el.appendChild(img);
|
||||
$amis.appendChild(el);
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user