From f3e5f02f072e5c238e9a58affa88599be5dd0c83 Mon Sep 17 00:00:00 2001 From: SBD Date: Sun, 3 Dec 2023 20:57:38 +0300 Subject: [PATCH 1/2] 0.8.477 --- static/js/user_profile_2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index 12e09b1..e313f61 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -92,7 +92,7 @@ function select_tab_profile (el,url,owner_type=null) { } function deleteMarkerMessages (el) { - let marker = el.querySelectorAll(".icon_unread_messages") + let marker = document.querySelectorAll(".icon_unread_messages") if (marker.length > 0){ marker[0].classList.remove("showed") if (marker[1]){ From fb3cd30db4bbffd6a05734950e937e3fc9a4483f Mon Sep 17 00:00:00 2001 From: SBD Date: Mon, 4 Dec 2023 17:23:27 +0300 Subject: [PATCH 2/2] 0.8.478 --- static/js/authorization.js | 2 +- static/js/registration.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/authorization.js b/static/js/authorization.js index efb698b..be0c42c 100644 --- a/static/js/authorization.js +++ b/static/js/authorization.js @@ -18,7 +18,7 @@ function SendLoginForm(el){ data: formData, success: function(data){ - location.href = '/profile/page/dashboard/' + location.href = `/profile/page/dashboard/?mobile=${getInfoAboutUser() === 'mobile'}` diff --git a/static/js/registration.js b/static/js/registration.js index 6cb64f7..f199b3b 100644 --- a/static/js/registration.js +++ b/static/js/registration.js @@ -15,7 +15,7 @@ function SendRegistrationForm(el){ data: formData, success: function(data){ - location.href = '/profile/page/dashboard/' + location.href = `/profile/page/dashboard/?mobile=${getInfoAboutUser() === 'mobile'}` }, error: function (data, exception){ document.querySelector(".register").innerHTML = data.responseJSON.html