This commit is contained in:
SBD
2023-11-29 15:00:28 +03:00
parent e5a8c3cb8f
commit d9103e62a7
3 changed files with 11 additions and 7 deletions

View File

@@ -55,12 +55,13 @@ 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("header")
header.scrollIntoView({
behavior: "smooth",
block: "end",
inline: "nearest"
})
// let header = document.querySelector(".info_profile")
// header.scrollIntoView({
// behavior: "smooth",
// block: "end",
// inline: "nearest"
// })
document.body.scrollTop = document.documentElement.scrollTop = 0;
middleWareJS()
let user_type = getInfoAboutUser()
if (user_type === 'mobile') {