updated clicking on user to redirect to the new profile page
This commit is contained in:
@@ -68,7 +68,7 @@ function populateUsers(items) {
|
|||||||
joinDate.innerHTML = item.joinDate
|
joinDate.innerHTML = item.joinDate
|
||||||
|
|
||||||
row.addEventListener("click", () => {
|
row.addEventListener("click", () => {
|
||||||
window.location.href = `../Profile Page/page2.html?id=${item.id}`;
|
window.location.href = `../Profile Page/profile.html?id=${item.id}#`;
|
||||||
});
|
});
|
||||||
row.addEventListener("mouseover", () => {
|
row.addEventListener("mouseover", () => {
|
||||||
row.style.cursor = "pointer";
|
row.style.cursor = "pointer";
|
||||||
|
|||||||
Reference in New Issue
Block a user