diff --git a/web/js/users.js b/web/js/users.js index 43be496..fbe384c 100644 --- a/web/js/users.js +++ b/web/js/users.js @@ -55,7 +55,7 @@ instance.get("users", {withCredentials: true, params :{ page:0, nbPages: nbPages trAll[i].addEventListener("click", function(e){ var id = e.currentTarget.querySelector("td").textContent; - location.href="/html/users.html?id="+id; + location.href="/html/user.html?id="+id; }); }