Skip to content

Commit

Permalink
Update photo
Browse files Browse the repository at this point in the history
  • Loading branch information
JiYouMCC authored May 14, 2024
1 parent ede0f31 commit 6bafaab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/photos.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ var Photos = {
$("<div></div>").addClass("thumbnail").append(
$("<img>").attr("src", Photos._folders[Photos._folderNames[i]][0].path)
).append(
$("<h1></h1>").addClass("text-center").text(Photos._folderNames[i] + " (" + Photos._folders[Photos._folderNames[i]].length + ")")
$("<h1></h1>").addClass("text-center").text(Photos._folderNames[i] + " ").append(
$("<span></span>").addClass("badge").text(Photos._folders[Photos._folderNames[i]].length)
)
)
)
)
Expand Down

0 comments on commit 6bafaab

Please sign in to comment.