Skip to content

Commit

Permalink
URL modif
Browse files Browse the repository at this point in the history
  • Loading branch information
Kherset committed Sep 26, 2023
1 parent 0cf8eda commit 8417902
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified assets/.DS_Store
Binary file not shown.
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", `scripts/templates/photographer.js?id=${id}`);
linkPhotographer.setAttribute("href", `photographer.html?id=${data.id}`);
linkPhotographer.appendChild(photographer)
photographer.appendChild(img);
photographer.appendChild(h2);
Expand Down

0 comments on commit 8417902

Please sign in to comment.