From d39f5921be3b1e479d64e02f00d837a5cb1626c9 Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Thu, 25 Aug 2022 22:21:02 +0200 Subject: [PATCH] add updateParam --- web/js/library.js | 18 +++++++++++++++++- web/js/users.js | 6 +++--- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/web/js/library.js b/web/js/library.js index 970812f..83c5d7d 100644 --- a/web/js/library.js +++ b/web/js/library.js @@ -99,7 +99,7 @@ function closeButton(){ function getQuery(param){ var result = ""; - if(location.search.length >0){ + if(location.search.length > 0){ query = location.search.split("?")[1]; var variables = query.split("&") for (var i=0; i 0){ + query = location.search.split("?")[1]; + var variables = query.split("&"); + for (var i=0; i