mirror of
https://github.com/openvk/openvk
synced 2025-07-27 09:42:03 +03:00
fix(scrolling): wrong scrolling that causes dups
This commit is contained in:
parent
808d622061
commit
99176789ae
1 changed files with 3 additions and 0 deletions
|
@ -2424,6 +2424,9 @@ const showMoreObserver = new IntersectionObserver(entries => {
|
||||||
if(target.length < 1 || target.hasClass('paginator-at-top')) {
|
if(target.length < 1 || target.hasClass('paginator-at-top')) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if(target.hasClass('lagged')) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
const current_url = new URL(location.href)
|
const current_url = new URL(location.href)
|
||||||
if(current_url.searchParams && !isNaN(parseInt(current_url.searchParams.get('p')))) {
|
if(current_url.searchParams && !isNaN(parseInt(current_url.searchParams.get('p')))) {
|
||||||
|
|
Loading…
Reference in a new issue