Skip to content

Commit aea9d1c

Browse files
running before content loaded
1 parent 06c42e1 commit aea9d1c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

banner_image.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(function () {
1+
window.addEventListener("DOMContentLoaded", function () {
22
const tagsEl = /** @type {HTMLMetaElement} */ document.querySelector("meta[name=tags]");
33
if (!tagsEl) return;
44
const bannerImage = document.querySelector("#banner-image");
@@ -16,4 +16,4 @@
1616
if (name == null) return; // Don't change it
1717
}
1818
bannerImage.src = `/images/yazani/yazani_${name}_extracted.png`;
19-
})();
19+
});

docs/banner_image.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy