Skip to content

Commit

Permalink
v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eggplants committed Mar 24, 2024
1 parent 25d9aa3 commit f761df0
Show file tree
Hide file tree
Showing 4 changed files with 318 additions and 293 deletions.
2 changes: 1 addition & 1 deletion ghcr_badge/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

from .generate import GHCRBadgeGenerator

__version__ = "0.3.3"
__version__ = "0.4.0"

__all__ = ["GHCRBadgeGenerator"]
2 changes: 1 addition & 1 deletion ghcr_badge/templates/index.j2
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
const name = encodeURIComponent(document.getElementById("name").value);
if (!(owner || name)) return;
const imgElms = document.querySelectorAll("main > img");
const imgElms = document.querySelectorAll("main > a > img");
Array.from(imgElms).filter((e) =>
targetId === undefined || targetId === e.id
).forEach((e) => {
Expand Down
Loading

0 comments on commit f761df0

Please sign in to comment.