Skip to content

Commit

Permalink
modif path
Browse files Browse the repository at this point in the history
  • Loading branch information
Kherset committed Sep 25, 2023
1 parent 49ed787 commit 0cf8eda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/templates/homepage.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function homepageTemplate(data) {
p2.textContent = `${price}Є/jour`;

const linkPhotographer = document.createElement('a');
linkPhotographer.setAttribute("href", `photographer.html?id=${id}`);
linkPhotographer.setAttribute("href", `scripts/templates/photographer.js?id=${id}`);
linkPhotographer.appendChild(photographer)
photographer.appendChild(img);
photographer.appendChild(h2);
Expand Down

0 comments on commit 0cf8eda

Please sign in to comment.