1.0.7 upd view for error_message for subscribe

This commit is contained in:
2024-05-08 18:08:56 +03:00
parent d77fe01795
commit 3900cb1382
2 changed files with 27 additions and 11 deletions

View File

@@ -68,10 +68,14 @@ function select_tab_profile (el,url,owner_type=null, check_orders_required) {
// block: "end",
// inline:'nearest'
// })
window.scrollTo({
top: 0,
behavior: "smooth",
});
if(!data.check_orders_required){
window.scrollTo({
top: 0,
behavior: "smooth",
});
}
middleWareJS()
let user_type = getInfoAboutUser()
if (user_type === 'mobile') {