Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -145,6 +145,7 @@ html, body{
|
||||
max-width: 1280px;
|
||||
position: relative;
|
||||
min-height: 695px;
|
||||
max-height: 100%;
|
||||
}
|
||||
|
||||
.wrapper_content.m_h_0{
|
||||
|
||||
@@ -36,6 +36,7 @@ function select_tab_profile (el,url,owner_type=null) {
|
||||
// enctype: 'json',
|
||||
data: JSON.stringify(data),
|
||||
success: function(data){
|
||||
let scroll_top = window.scrollY
|
||||
document.querySelector(".info_profile").innerHTML = data.html;
|
||||
let list_div = document.querySelectorAll('.menu_profile div');
|
||||
list_div.forEach(el=>{ el.classList.remove('selected'); });
|
||||
@@ -61,7 +62,10 @@ function select_tab_profile (el,url,owner_type=null) {
|
||||
// block: "end",
|
||||
// inline:'nearest'
|
||||
// })
|
||||
document.querySelector("body").scrollTop = 0
|
||||
window.scrollTo({
|
||||
top: 0,
|
||||
behavior: "smooth",
|
||||
});
|
||||
middleWareJS()
|
||||
let user_type = getInfoAboutUser()
|
||||
if (user_type === 'mobile') {
|
||||
|
||||
Reference in New Issue
Block a user