Skip to content

Commit 9b87346

Browse files
committed
Attempt to fix animated heads display
1 parent 02cdcf3 commit 9b87346

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
$.ajax({
2-
url: "images/",
2+
url: "./images/",
33
success: data => {
44
$(data).find("a").attr("href", (_i, filename) => {
55
if (filename.match(/\.(jpe?g|png|gif)$/)) {
66
$('body').append(
7-
"<div class=\"head-container\"><img class=\"head\" src=\"images/" + filename + "\"/></div>"
7+
"<div class=\"head-container\"><img class=\"head\" src=\"./images/" + filename + "\"/></div>"
88
);
99
}
1010
});

0 commit comments

Comments
 (0)