This commit is contained in:
SBD
2023-11-29 15:14:20 +03:00
parent dc92877beb
commit 2fb00ee112

View File

@@ -55,13 +55,12 @@ function select_tab_profile (el,url,owner_type=null) {
} }
document.querySelector("#ru_lang").href = confirm_url_f_lang_ru document.querySelector("#ru_lang").href = confirm_url_f_lang_ru
document.querySelector("#en_lang").href = confirm_url_f_lang_en document.querySelector("#en_lang").href = confirm_url_f_lang_en
// let header = document.querySelector(".info_profile") let header = document.querySelector(".info_profile")
// header.scrollIntoView({ header.scrollIntoView({
// behavior: "smooth", behavior: "smooth",
// block: "end", block: "end",
// inline: "nearest" inline: "nearest"
// }) })
document.body.scrollTop = document.documentElement.scrollTop = 0;
middleWareJS() middleWareJS()
let user_type = getInfoAboutUser() let user_type = getInfoAboutUser()
if (user_type === 'mobile') { if (user_type === 'mobile') {