mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
Fix build issue
This commit is contained in:
parent
2ad384ca41
commit
3c490cf9db
@ -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);
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
Loading…
Reference in New Issue
Block a user