diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index 8c6ecaf..84c2e29 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -55,7 +55,7 @@ function select_tab_profile (el,url,owner_type=null) { } document.querySelector("#ru_lang").href = confirm_url_f_lang_ru document.querySelector("#en_lang").href = confirm_url_f_lang_en - let header = document.querySelector(".info_profile") + let header = document.querySelector("header") header.scrollIntoView({ behavior: "smooth", block: "end",