From 2cfda4f43750d49cb312c4af29749230e7cc3789 Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Sat, 4 Nov 2023 22:52:47 +0100 Subject: [PATCH] add variable by URL --- web/js/users.js | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/web/js/users.js b/web/js/users.js index 69947ca..48081e1 100644 --- a/web/js/users.js +++ b/web/js/users.js @@ -1,5 +1,7 @@ checkToken(); signOut(); +pathURL = document.location.pathname.split("/")[document.location.pathname.split("/").length-1].split(".")[0] + var param = {} param["limit"] = 20; @@ -28,7 +30,7 @@ for (var i=0; i