From 2fbcaa79f18571b52d9fa27bb63040445ac39b15 Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Sat, 6 Aug 2022 21:49:47 +0200 Subject: [PATCH] rename user.html --- web/js/users.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }); }