0.1.352 small bug_fix

This commit is contained in:
2024-02-02 12:50:59 +03:00
parent 5815a08b55
commit 6ba41af305

View File

@@ -52,10 +52,11 @@ function goToChatIfChat () {
}
let top = scroll_el.offsetTop
window.scrollTo({top:top})
}
document.addEventListener('focusout', function(e,scroll_el) {
window.scrollTo(scroll_el, 0)
});
}
}
@@ -159,15 +160,15 @@ document.addEventListener('DOMContentLoaded', function() {
}
});
window.addEventListener('scroll', () => {
// let headerBG = document.getElementById('header_bg')
//
// headerBG.style.backgroundColor = 'rgb(248 248 248 / 90%)'
// headerBG.style.padding = '20px 40px'
// headerBG.style.paddingBottom = 'padding: 10px 40px 10px 40px'
// headerBG.style.paddingRight = 'padding: 10px 40px 10px 40px'
// headerBG.style.paddingLeft = 'padding: 10px 40px 10px 40px'
})
// window.addEventListener('scroll', () => {
// // let headerBG = document.getElementById('header_bg')
// //
// // headerBG.style.backgroundColor = 'rgb(248 248 248 / 90%)'
// // headerBG.style.padding = '20px 40px'
// // headerBG.style.paddingBottom = 'padding: 10px 40px 10px 40px'
// // headerBG.style.paddingRight = 'padding: 10px 40px 10px 40px'
// // headerBG.style.paddingLeft = 'padding: 10px 40px 10px 40px'
// })
// Действия при изменении URL